cardano-node: converted to flake

This commit is contained in:
Serĉanto de Scio 2023-08-03 21:29:09 +10:00
parent 156ab8778a
commit 1fa55a5f71
Signed by: sercanto
GPG key ID: A4122FF3971B6865
3 changed files with 6071 additions and 62 deletions

6121
flake.lock

File diff suppressed because it is too large Load diff

View file

@ -2,7 +2,9 @@
description = "mio-ops deployment";
inputs = {
cardano-node.url = "github:input-output-hk/cardano-node/?ref=1.35.7";
daedalus.url = "github:input-output-hk/daedalus/?ref=5.2.0";
iohkNix.url = "github:input-output-hk/iohk-nix/?ref=df1da282f996ec46b33379407df99613a1fbafdd";
nix.url = "github:NixOS/nix/?ref=2.13.3";
nixpkgs.url = github:NixOS/nixpkgs/?ref=nixos-23.05;
nixpkgsUnstable.url = github:NixOS/nixpkgs/?ref=nixos-unstable;

View file

@ -3,15 +3,15 @@
config,
pkgs,
lib,
cardano-node,
iohkNix,
...
}: let
sources = import ../nix/sources.nix;
cardanoNodeProject = import (sources.cardano-node + "/nix") {
gitrev = sources.cardano-node.rev;
cardanoNodeProject = import (cardano-node + "/nix") {
gitrev = cardano-node.rev;
};
iohkNix = import (sources.iohk-nix) {};
in {
imports = [../secrets/cardano/producers.nix "${sources.cardano-node}/nix/nixos"];
imports = [../secrets/cardano/producers.nix "${cardano-node.cardano-node}/nix/nixos"];
environment.systemPackages = [cardanoNodeProject.cardano-cli];