forked from lix-project/nixos-module
overlay: fix bug where prev should have been final
(cherry picked from commit 81d9ff97c9
)
This commit is contained in:
parent
efbb3769cb
commit
2bbdcd73b9
|
@ -73,7 +73,7 @@ let
|
||||||
inputs = prev.${name}.buildInputs ++ prev.${name}.nativeBuildInputs;
|
inputs = prev.${name}.buildInputs ++ prev.${name}.nativeBuildInputs;
|
||||||
nixDependency = lib.findFirst
|
nixDependency = lib.findFirst
|
||||||
(drv: (drv.pname or "") == "nix")
|
(drv: (drv.pname or "") == "nix")
|
||||||
prev.nixVersions.stable_upstream # default to stable nix if nix is not an input
|
final.nixVersions.stable_upstream # default to stable nix if nix is not an input
|
||||||
inputs;
|
inputs;
|
||||||
nixMajor = lib.versions.major (nixDependency.version or "");
|
nixMajor = lib.versions.major (nixDependency.version or "");
|
||||||
nixMinor = lib.versions.minor (nixDependency.version or "");
|
nixMinor = lib.versions.minor (nixDependency.version or "");
|
||||||
|
|
Loading…
Reference in a new issue