mio-ops/default.nix

19 lines
446 B
Nix
Raw Normal View History

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 = [
cardanoNodeProject.cardano-cli
niv
nix
nixops
];
2020-05-10 22:17:06 +00:00
NIX_PATH = "nixpkgs=${path}";
NIXOPS_DEPLOYMENT = "${globals.deploymentName}";
};
}