summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-11-02 13:31:56 -0600
committerTim Keller <tjk@tjkeller.xyz>2026-11-02 13:31:56 -0600
commitd8df8984c776aa75f06196faec791418f3b11d06 (patch)
tree551b6aa5b7bfd7d10db40e163eb815e76f3392fe
parent68510b23ae1a79f2f0b9105f53983afb4860d285 (diff)
downloadnixos-d8df8984c776aa75f06196faec791418f3b11d06.tar.xz
nixos-d8df8984c776aa75f06196faec791418f3b11d06.zip
fix unstable packages import config and system correctly
-rw-r--r--pkgs/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix
index c1e2206..8d47b9a 100644
--- a/pkgs/default.nix
+++ b/pkgs/default.nix
@@ -50,7 +50,8 @@
# Allow installing unstable packages via pkgs.unstable.<name>
(final: prev: {
unstable = import inputs.nixpkgs-unstable {
- inherit (final) system;
+ inherit (prev.stdenv.hostPlatform) system;
+ inherit (prev) config;
};
})
];