replace-dependency: don't break nixpkgs for people living in the stone age
This commit is contained in:
parent
1f07564f8b
commit
5626c5cdfb
@ -344,9 +344,9 @@ let
|
||||
inherit stdenv;
|
||||
};
|
||||
|
||||
"replace-dependency" = import ../build-support/replace-dependency.nix {
|
||||
"replace-dependency" = if builtins ? langVersion then import ../build-support/replace-dependency.nix {
|
||||
inherit runCommand nix lib;
|
||||
};
|
||||
} else args: throw "You must be using at least nix-1.2 to use replace-dependency";
|
||||
|
||||
nukeReferences = callPackage ../build-support/nuke-references/default.nix { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user