Merge pull request #41111 from jcrben/aescrypt-on-darwin
aescrypt: fix darwin build
This commit is contained in:
commit
55f03e3913
@ -9,7 +9,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "1a1rs7xmbxh355qg3v02rln3gshvy3j6wkx4g9ir72l22mp6zkc7";
|
sha256 = "1a1rs7xmbxh355qg3v02rln3gshvy3j6wkx4g9ir72l22mp6zkc7";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
NIX_LDFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-liconv";
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
|
substituteInPlace src/Makefile --replace "CC=gcc" "CC?=gcc"
|
||||||
cd src
|
cd src
|
||||||
'';
|
'';
|
||||||
|
|
||||||
@ -27,6 +30,6 @@ stdenv.mkDerivation rec {
|
|||||||
license = licenses.gpl2;
|
license = licenses.gpl2;
|
||||||
maintainers = with maintainers; [ lovek323 qknight ];
|
maintainers = with maintainers; [ lovek323 qknight ];
|
||||||
platforms = stdenv.lib.platforms.all;
|
platforms = stdenv.lib.platforms.all;
|
||||||
hydraPlatforms = stdenv.lib.platforms.linux;
|
hydraPlatforms = with platforms; unix;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user