mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-04-13 23:27:37 +00:00
pkgs/tools/text/replace: move --mandir to standard location $out/share/man
Also, fixed the type of $makeFlags, which is a string, not a list. svn path=/nixpkgs/branches/stdenv-updates/; revision=25006
This commit is contained in:
parent
09bcba17f5
commit
475cbea101
@ -8,12 +8,13 @@ stdenv.mkDerivation {
|
||||
sha256 = "1c2nkxx83vmlh1v3ib6r2xqh121gdb1rharwsimcb2h0xwc558dm";
|
||||
};
|
||||
|
||||
makeFlags = ["TREE=\$(out)"];
|
||||
makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man";
|
||||
|
||||
crossAttrs = {
|
||||
makeFlags = [ "TREE=\$(out)" "CC=${stdenv.cross.config}-gcc" ];
|
||||
makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man CC=${stdenv.cross.config}-gcc";
|
||||
};
|
||||
|
||||
preInstall = "ensureDir \$out/share/man";
|
||||
postInstall = "mv \$out/bin/replace \$out/bin/replace-literal";
|
||||
|
||||
patches = [./malloc.patch];
|
||||
|
Loading…
Reference in New Issue
Block a user