Skip to content

Commit

Permalink
lib: add devShell derivation to iso store content
Browse files Browse the repository at this point in the history
This is intended to cache avaluation and thereby cut evaulation
times within a live iso environment.

closes: divnix#195
  • Loading branch information
David Arnold authored and Pacman99 committed Mar 18, 2021
1 parent 0ee32a2 commit 58e405f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/devos/devosSystem.nix
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ lib.nixosSystem (args // {
nix.registry = lib.mapAttrs (n: v: { flake = v; }) inputs;
isoImage.storeContents = [
self.devShell.${config.nixpkgs.system}
self.devShell.${config.nixpkgs.system}.drvPath
hostConfig.system.build.toplevel
hostConfig.system.build.toplevel.drvPath
];
Expand Down

0 comments on commit 58e405f

Please sign in to comment.