replace: Rely on cc-wrapper to export env var
This commit is contained in:
parent
936196129d
commit
10685e3956
@ -1,4 +1,4 @@
|
|||||||
{stdenv, fetchurl}:
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "replace-2.24";
|
name = "replace-2.24";
|
||||||
@ -10,10 +10,6 @@ stdenv.mkDerivation {
|
|||||||
|
|
||||||
makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man";
|
makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man";
|
||||||
|
|
||||||
crossAttrs = {
|
|
||||||
makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man CC=${stdenv.cross.config}-gcc";
|
|
||||||
};
|
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
sed -e "s@/bin/mv@$(type -P mv)@" -i replace.h
|
sed -e "s@/bin/mv@$(type -P mv)@" -i replace.h
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user