altermime: fix cross (#462501)
This commit is contained in:
@@ -23,7 +23,9 @@ gccStdenv.mkDerivation rec {
|
|||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
mkdir -p $out/bin
|
mkdir -p $out/bin
|
||||||
substituteInPlace Makefile --replace "/usr/local" "$out"
|
substituteInPlace Makefile \
|
||||||
|
--replace-fail "/usr/local" "$out" \
|
||||||
|
--replace-fail "strip " "${gccStdenv.cc.targetPrefix}strip "
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|||||||
Reference in New Issue
Block a user