Merge pull request #32322 from berce/staging
ed: fix docs location. Fixes #32150. Supersedes #32315.
This commit is contained in:
commit
a9b5900360
@ -11,27 +11,9 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1nqhk3n1s1p77g2bjnj55acicsrlyb2yasqxqwpx0w0djfx64ygm";
|
sha256 = "1nqhk3n1s1p77g2bjnj55acicsrlyb2yasqxqwpx0w0djfx64ygm";
|
||||||
};
|
};
|
||||||
|
|
||||||
unpackCmd = "tar --lzip -xf";
|
|
||||||
|
|
||||||
nativeBuildInputs = [ lzip ];
|
nativeBuildInputs = [ lzip ];
|
||||||
|
|
||||||
/* FIXME: Tests currently fail on Darwin:
|
doCheck = hostPlatform == buildPlatform;
|
||||||
|
|
||||||
building test scripts for ed-1.5...
|
|
||||||
testing ed-1.5...
|
|
||||||
*** Output e1.o of script e1.ed is incorrect ***
|
|
||||||
*** Output r3.o of script r3.ed is incorrect ***
|
|
||||||
make: *** [check] Error 127
|
|
||||||
|
|
||||||
*/
|
|
||||||
doCheck = !(hostPlatform.isDarwin || hostPlatform != buildPlatform);
|
|
||||||
|
|
||||||
installFlags = [ "DESTDIR=$(out)" ];
|
|
||||||
|
|
||||||
configureFlags = [
|
|
||||||
"--exec-prefix=${stdenv.cc.targetPrefix}"
|
|
||||||
"CC=${stdenv.cc.targetPrefix}cc"
|
|
||||||
];
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "An implementation of the standard Unix editor";
|
description = "An implementation of the standard Unix editor";
|
||||||
|
@ -13,7 +13,10 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
configureFlags = "CPPFLAGS=-DNDEBUG CFLAGS=-O3 CXXFLAGS=-O3";
|
configureFlags = "CPPFLAGS=-DNDEBUG CFLAGS=-O3 CXXFLAGS=-O3";
|
||||||
|
|
||||||
|
setupHook = ./lzip-setup-hook.sh;
|
||||||
|
|
||||||
doCheck = true;
|
doCheck = true;
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = http://www.nongnu.org/lzip/lzip.html;
|
homepage = http://www.nongnu.org/lzip/lzip.html;
|
||||||
|
5
pkgs/tools/compression/lzip/lzip-setup-hook.sh
Normal file
5
pkgs/tools/compression/lzip/lzip-setup-hook.sh
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
lzipUnpackCmdHook() {
|
||||||
|
[[ "$1" = *.tar.lz ]] && tar --lzip -xf "$1"
|
||||||
|
}
|
||||||
|
|
||||||
|
unpackCmdHooks+=(lzipUnpackCmdHook)
|
Loading…
x
Reference in New Issue
Block a user