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
|
2024-06-01 14:22:33 +00:00
|
|
|
nixops_unstable_minimal # work around for issue #127423
|
2023-03-24 13:08:47 +00:00
|
|
|
tea # Gitea official CLI client
|
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}";
|
|
|
|
};
|
|
|
|
}
|