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