feat(devShells): move to separate directory
This commit is contained in:
parent
e061bf4db9
commit
10b3f3da0f
3 changed files with 8 additions and 4 deletions
|
@ -86,7 +86,7 @@
|
||||||
|
|
||||||
# Dev Shells (`nix develop`)
|
# Dev Shells (`nix develop`)
|
||||||
devShells = forEachPkgs (pkgs:
|
devShells = forEachPkgs (pkgs:
|
||||||
import ./shell.nix { inherit pkgs; }
|
import ./shells { inherit pkgs; }
|
||||||
);
|
);
|
||||||
|
|
||||||
# Formatter
|
# Formatter
|
||||||
|
|
6
shells/default.nix
Normal file
6
shells/default.nix
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
# If pkgs is not defined, instanciate nixpkgs from locked commit
|
||||||
|
{ pkgs ? (import ../nixpkgs.nix) { }
|
||||||
|
, ...
|
||||||
|
}: {
|
||||||
|
default = import ./default { inherit pkgs; };
|
||||||
|
}
|
|
@ -1,7 +1,5 @@
|
||||||
# Shell for bootstrapping flake-enabled nix and other tooling
|
# Shell for bootstrapping flake-enabled nix and other tooling
|
||||||
# If pkgs is not defined, instanciate nixpkgs from locked commit
|
{ pkgs
|
||||||
{ pkgs ?
|
|
||||||
(import ./nixpkgs.nix) { }
|
|
||||||
, ...
|
, ...
|
||||||
}: {
|
}: {
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
Loading…
Reference in a new issue