cardano-node: converted to flake
This commit is contained in:
parent
156ab8778a
commit
1fa55a5f71
6121
flake.lock
6121
flake.lock
File diff suppressed because it is too large
Load diff
|
@ -2,7 +2,9 @@
|
||||||
description = "mio-ops deployment";
|
description = "mio-ops deployment";
|
||||||
|
|
||||||
inputs = {
|
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";
|
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";
|
nix.url = "github:NixOS/nix/?ref=2.13.3";
|
||||||
nixpkgs.url = github:NixOS/nixpkgs/?ref=nixos-23.05;
|
nixpkgs.url = github:NixOS/nixpkgs/?ref=nixos-23.05;
|
||||||
nixpkgsUnstable.url = github:NixOS/nixpkgs/?ref=nixos-unstable;
|
nixpkgsUnstable.url = github:NixOS/nixpkgs/?ref=nixos-unstable;
|
||||||
|
|
|
@ -3,15 +3,15 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
lib,
|
lib,
|
||||||
|
cardano-node,
|
||||||
|
iohkNix,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
sources = import ../nix/sources.nix;
|
cardanoNodeProject = import (cardano-node + "/nix") {
|
||||||
cardanoNodeProject = import (sources.cardano-node + "/nix") {
|
gitrev = cardano-node.rev;
|
||||||
gitrev = sources.cardano-node.rev;
|
|
||||||
};
|
};
|
||||||
iohkNix = import (sources.iohk-nix) {};
|
|
||||||
in {
|
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];
|
environment.systemPackages = [cardanoNodeProject.cardano-cli];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue