direnv,devShells: split into develop and install

This commit is contained in:
steveej 2024-01-23 09:39:43 +00:00
parent e1749d3ae7
commit 1bb92040ae
4 changed files with 63 additions and 56 deletions

View file

@ -170,7 +170,8 @@
inherit systems;
perSystem =
{ inputs'
{ self'
, inputs'
, system
, config
, lib
@ -295,11 +296,18 @@
};
formatter = pkgs.alejandra;
devShells.default = import ./nix/devShells.nix {
inherit inputs' pkgs;
packages' = packages;
};
devShells =
let
all = import ./nix/devShells.nix {
inherit
self'
inputs'
pkgs
;
};
in
(all // { default = all.develop; });
};
flake.nixosModules = {