Skip to content

Commit

Permalink
shared/nix: dont map nixpkgs input on darwin
Browse files Browse the repository at this point in the history
  • Loading branch information
khaneliman committed Sep 14, 2024
1 parent 2b3ffaa commit afd16f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/shared/nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ in
mappedRegistry = lib.pipe inputs [
(lib.filterAttrs (_: lib.isType "flake"))
(lib.mapAttrs (_: flake: { inherit flake; }))
(x: x // { nixpkgs.flake = inputs.nixpkgs; })
(x: x // (lib.mkIf pkgs.stdenv.isLinux { nixpkgs.flake = inputs.nixpkgs; }))
];

users = [
Expand Down

0 comments on commit afd16f5

Please sign in to comment.