fix devShell

In https://github.com/nix-community/nix-direnv/pull/450 I broke the default shell by accident
This commit is contained in:
Jörg Thalheim 2023-12-21 09:31:05 +01:00
parent f9a08ca025
commit 913735d6b8

View File

@ -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: {