mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 09:36:20 +09:00
mkOverridable: Use functors to allow overridable functions
This commit is contained in:
parent
96ae5d58bf
commit
4ee556cfe9
2 changed files with 9 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
if ! builtins ? nixVersion || builtins.compareVersions "1.7" builtins.nixVersion == 1 then
|
||||
if ! builtins ? nixVersion || builtins.compareVersions "1.8" builtins.nixVersion == 1 then
|
||||
|
||||
abort "This version of Nixpkgs requires Nix >= 1.7, please upgrade!"
|
||||
abort "This version of Nixpkgs requires Nix >= 1.8, please upgrade!"
|
||||
|
||||
else
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue