From 47e916f5cd19148f5bda5c5c64dc3d321746b5e7 Mon Sep 17 00:00:00 2001 From: Petar Kirov Date: Wed, 19 Apr 2023 18:24:21 +0300 Subject: [PATCH] feat(shell.nix): Use pkgs instance resulting from applying the flake overlay This way we can access all packages defined in this flake in the devshell. --- flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index 36cd6291..9faf206d 100644 --- a/flake.nix +++ b/flake.nix @@ -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;}; }; }; }