From 0f3d5d81dd96a25642ca7239a17843d5e9639217 Mon Sep 17 00:00:00 2001 From: Jacob Birkett Date: Sat, 31 May 2025 13:11:25 -0700 Subject: [PATCH] flake: devShells: use same pkgs as for packages output --- flake.nix | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/flake.nix b/flake.nix index 4c012bb..96f329d 100644 --- a/flake.nix +++ b/flake.nix @@ -27,9 +27,11 @@ }) pkgsForEach; - devShells = forAllSystems (system: { - default = pkgsForEach.${system}.callPackage ./nix/shell.nix {}; - }); + devShells = + nixpkgs.lib.mapAttrs (system: pkgs: { + default = pkgs.callPackage ./nix/shell.nix {}; + }) + pkgsForEach; nixosModules = { superfreq = import ./nix/module.nix inputs;