2021-11-16 04:57:23 +00:00
|
|
|
{ sources ? import ./nix/sources.nix, system ? builtins.currentSystem
|
|
|
|
, crossSystem ? null, config ? { }
|
|
|
|
, cardanoNodeProject ? import sources.cardano-node { } }@args:
|
|
|
|
with import ./nix args; {
|
2020-05-10 22:17:06 +00:00
|
|
|
shell = mkShell {
|
2021-11-16 04:57:23 +00:00
|
|
|
inherit (import sources.niv { }) niv;
|
2020-07-30 02:58:46 +00:00
|
|
|
buildInputs = [
|
2021-11-16 04:57:23 +00:00
|
|
|
cardanoNodeProject.cardano-cli # required for KES key rotation
|
2020-07-30 02:58:46 +00:00
|
|
|
niv
|
2021-11-16 04:57:23 +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}";
|
|
|
|
};
|
|
|
|
}
|