mirror of
https://github.com/nix-community/nix-direnv.git
synced 2024-08-16 23:10:24 +03: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
21
flake.nix
21
flake.nix
@ -52,17 +52,18 @@
|
||||
nixVersion = "stable";
|
||||
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 = {
|
||||
overlays.default = final: _prev: {
|
||||
|
Loading…
Reference in New Issue
Block a user