mio-ops/default.nix

19 lines
701 B
Nix
Raw Normal View History

2021-11-16 04:57:23 +00:00
{ sources ? import ./nix/sources.nix, system ? builtins.currentSystem
, crossSystem ? null, config ? { }
2022-03-07 13:57:33 +00:00
, alejandraUnstable ? (import sources.nixpkgsUnstable { }).alejandra
2021-11-16 04:57:23 +00:00
, 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 = [
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}";
};
}