Remove broken way of thinking about devshells
Need a better way of providing good defaults
This commit is contained in:
parent
b3ddb341d8
commit
05c74cc4e6
1 changed files with 0 additions and 11 deletions
11
flake.nix
11
flake.nix
|
@ -50,14 +50,12 @@
|
|||
"aarch64-linux"
|
||||
"aarch64-darwin"
|
||||
],
|
||||
devShellPackages ? (pkgs: [ ]),
|
||||
treeFmtFile ? ./treefmt.nix,
|
||||
...
|
||||
}:
|
||||
let
|
||||
snowfallOptions = builtins.removeAttrs options [
|
||||
"flakeBaseSystems"
|
||||
"devShellPackages"
|
||||
"treeFmtFile"
|
||||
];
|
||||
flake = snowfall-lib.mkFlake snowfallOptions;
|
||||
|
@ -74,15 +72,6 @@
|
|||
checks = flake.checks.${system} // {
|
||||
fmt = treeFmtEval.config.build.check self;
|
||||
};
|
||||
devShells = flake.devShells.${system} // {
|
||||
default =
|
||||
flake.devShells.${system}.default or (pkgs.mkShell {
|
||||
packages = [
|
||||
pkgs.nixfmt-rfc-style
|
||||
pkgs.nixd
|
||||
] ++ (devShellPackages pkgs);
|
||||
});
|
||||
};
|
||||
}
|
||||
));
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue