2020-07-30 02:58:46 +00:00
|
|
|
{ sources ? import ./nix/sources.nix
|
2020-05-10 22:17:06 +00:00
|
|
|
, system ? builtins.currentSystem
|
|
|
|
, crossSystem ? null
|
|
|
|
, config ? {}
|
2020-07-30 02:58:46 +00:00
|
|
|
, cardanoNodeProject ? import sources.cardano-node {}
|
2020-05-10 22:17:06 +00:00
|
|
|
}@args: with import ./nix args; {
|
|
|
|
shell = mkShell {
|
2020-07-30 02:58:46 +00:00
|
|
|
inherit (import sources.niv {}) niv;
|
|
|
|
buildInputs = [
|
2021-07-05 03:21:58 +00:00
|
|
|
cardanoNodeProject.cardano-cli # required for KES key rotation
|
2020-07-30 02:58:46 +00:00
|
|
|
niv
|
2021-07-06 23:40:35 +00:00
|
|
|
nixopsUnstable # work around for issue #127423
|
2020-07-30 02:58:46 +00:00
|
|
|
];
|
2020-05-10 22:17:06 +00:00
|
|
|
NIX_PATH = "nixpkgs=${path}";
|
|
|
|
NIXOPS_DEPLOYMENT = "${globals.deploymentName}";
|
|
|
|
};
|
|
|
|
}
|