p7zip: fix purity on Darwin
This should (I hope) get Hydra to build it. Fixes #24714
This commit is contained in:
parent
b9e558597d
commit
9ae3f39e8e
@ -16,6 +16,14 @@ stdenv.mkDerivation rec {
|
|||||||
})
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
|
# Default makefile is full of impurities on Darwin. The patch doesn't hurt Linux so I'm leaving it unconditional
|
||||||
|
postPatch = ''
|
||||||
|
sed -i '/CC=\/usr/d' makefile.macosx_llvm_64bits
|
||||||
|
|
||||||
|
# I think this is a typo and should be CXX? Either way let's kill it
|
||||||
|
sed -i '/XX=\/usr/d' makefile.macosx_llvm_64bits
|
||||||
|
'';
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
makeFlagsArray=(DEST_HOME=$out)
|
makeFlagsArray=(DEST_HOME=$out)
|
||||||
buildFlags=all3
|
buildFlags=all3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user