mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-29 16:24:10 +00:00
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 {
|
||||
name = "replace-2.24";
|
||||
@ -10,10 +10,6 @@ stdenv.mkDerivation {
|
||||
|
||||
makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man";
|
||||
|
||||
crossAttrs = {
|
||||
makeFlags = "TREE=\$(out) MANTREE=\$(TREE)/share/man CC=${stdenv.cross.config}-gcc";
|
||||
};
|
||||
|
||||
preBuild = ''
|
||||
sed -e "s@/bin/mv@$(type -P mv)@" -i replace.h
|
||||
'';
|
||||
|
Loading…
Reference in New Issue
Block a user