mio-ops/default.nix

23 lines
709 B
Nix
Raw Permalink Normal View History

2022-06-30 02:35:00 +00:00
{
sources ? import ./nix/sources.nix,
system ? builtins.currentSystem,
crossSystem ? null,
config ? {},
alejandraUnstable ? (import sources.nixpkgsUnstable {}).alejandra,
cardanoNodeProject ? import sources.cardano-node {},
} @ args:
2021-11-16 04:57:23 +00:00
with import ./nix args; {
2020-05-10 22:17:06 +00:00
shell = mkShell {
2022-06-30 02:35:00 +00:00
inherit (import sources.niv {}) niv;
2020-07-30 02:58:46 +00:00
buildInputs = [
2022-03-07 13:57:33 +00:00
alejandraUnstable # The Uncompromising Nix Code Formatter
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
2022-03-07 13:57:33 +00:00
treefmt # one CLI to format the code tree
2020-07-30 02:58:46 +00:00
];
2021-11-24 23:18:21 +00:00
NIX_PATH = "nixpkgs=${sources.nixpkgs}";
2020-05-10 22:17:06 +00:00
NIXOPS_DEPLOYMENT = "${globals.deploymentName}";
};
}