mirror of
https://github.com/nix-community/nix-direnv.git
synced 2025-11-08 19:46:11 +01:00
fix devShell
In https://github.com/nix-community/nix-direnv/pull/450 I broke the default shell by accident
This commit is contained in:
parent
f9a08ca025
commit
913735d6b8
1 changed files with 11 additions and 10 deletions
21
flake.nix
21
flake.nix
|
|
@ -52,17 +52,18 @@
|
||||||
nixVersion = "stable";
|
nixVersion = "stable";
|
||||||
direnv = config.packages.direnv-bash4;
|
direnv = config.packages.direnv-bash4;
|
||||||
};
|
};
|
||||||
devShells.default = pkgs.callPackage ./shell.nix {
|
|
||||||
packages = [ config.treefmt.build.wrapper ];
|
|
||||||
};
|
|
||||||
|
|
||||||
checks =
|
|
||||||
let
|
|
||||||
packages = lib.mapAttrs' (n: lib.nameValuePair "package-${n}") self'.packages;
|
|
||||||
devShells = lib.mapAttrs' (n: lib.nameValuePair "devShell-${n}") self'.devShells;
|
|
||||||
in
|
|
||||||
packages // devShells;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
devShells.default = pkgs.callPackage ./shell.nix {
|
||||||
|
packages = [ config.treefmt.build.wrapper ];
|
||||||
|
};
|
||||||
|
|
||||||
|
checks =
|
||||||
|
let
|
||||||
|
packages = lib.mapAttrs' (n: lib.nameValuePair "package-${n}") self'.packages;
|
||||||
|
devShells = lib.mapAttrs' (n: lib.nameValuePair "devShell-${n}") self'.devShells;
|
||||||
|
in
|
||||||
|
packages // devShells;
|
||||||
};
|
};
|
||||||
flake = {
|
flake = {
|
||||||
overlays.default = final: _prev: {
|
overlays.default = final: _prev: {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue