Skip to content

Commit

Permalink
replace-dependency: don't break nixpkgs for people living in the ston…
Browse files Browse the repository at this point in the history
…e age
  • Loading branch information
shlevy committed Jan 12, 2013
1 parent 1f07564 commit 5626c5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkgs/top-level/all-packages.nix
Expand Up @@ -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 { };

Expand Down

0 comments on commit 5626c5c

Please sign in to comment.