forked from mirrors/nixpkgs
Fix /bin/mv reference in replace-literal
This commit is contained in:
parent
d9716fb642
commit
d22a3b8d0e
|
@ -14,6 +14,10 @@ stdenv.mkDerivation {
|
|||
makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man CC=${stdenv.cross.config}-gcc";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
sed -e "s@/bin/mv@$(type -P mv)@" -i replace.h
|
||||
'';
|
||||
|
||||
preInstall = "mkdir -p \$out/share/man";
|
||||
postInstall = "mv \$out/bin/replace \$out/bin/replace-literal";
|
||||
|
||||
|
|
Loading…
Reference in a new issue