nixos-option: remove if nix.package
is unstable
This was done in a0a61c3e34
, but users
typically install `nixUnstable` via `nix.package`, not by overlaying
`pkgs.nix` directly.
This commit is contained in:
parent
8f4be49775
commit
7e59c19715
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ let
|
||||||
};
|
};
|
||||||
|
|
||||||
nixos-option =
|
nixos-option =
|
||||||
if lib.versionAtLeast (lib.getVersion pkgs.nix) "2.4pre"
|
if lib.versionAtLeast (lib.getVersion config.nix.package) "2.4pre"
|
||||||
then null
|
then null
|
||||||
else pkgs.callPackage ./nixos-option { };
|
else pkgs.callPackage ./nixos-option { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue