Skip to content

Commit

Permalink
feat(shell.nix): Use pkgs instance resulting from applying the flake …
Browse files Browse the repository at this point in the history
…overlay

This way we can access all packages defined in this flake in the devshell.
  • Loading branch information
PetarKirov committed Sep 20, 2023
1 parent 5962491 commit b1e943a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
flake-parts.lib.mkFlake {inherit inputs;} {
systems = ["x86_64-linux" "aarch64-linux" "x86_64-darwin" "aarch64-darwin"];
imports = [./pkgs];
perSystem = {pkgs, ...}: {
devShells.default = import ./shell.nix {inherit pkgs;};
perSystem = {final, ...}: {
devShells.default = import ./shell.nix {pkgs = final;};
};
};
}

0 comments on commit b1e943a

Please sign in to comment.