Skip to content

Commit

Permalink
flake.nix: add nix in devShell
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Oct 11, 2023
1 parent 9afa8f4 commit e626164
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -197,10 +197,12 @@
configuration = ./home-manager/minimal.nix;
hostname = "devShell";
}).homeConfigurations.devShell;
inherit (homeManager) pkgs;
inherit (homeManager.config.home) homeDirectory packages profileDirectory;
in
homeManager.pkgs.mkShell {
inherit packages;
pkgs.mkShell {
# Ensure that nix/nix-build is in PATH
packages = [ pkgs.nix ] ++ packages;
shellHook = ''
export HOME=${homeDirectory}
mkdir -p "$HOME"
Expand Down

0 comments on commit e626164

Please sign in to comment.