chez-racket: Fix signing on Darwin (Thanks @Steven0351!)

This commit is contained in:
Las Safin 2021-12-23 21:14:28 +00:00
parent d3f1b7d32d
commit 177e4ff31f
No known key found for this signature in database
GPG key ID: E7FA928911B61ED6

View file

@ -23,7 +23,7 @@ stdenv.mkDerivation (args // {
export LZ4="$(find ${lz4.out}/lib -type f | sort | head -n1)"
'';
nativeBuildInputs = lib.optional stdenv.isDarwin darwin.cctools;
nativeBuildInputs = lib.optionals stdenv.isDarwin (with darwin; [ cctools autoSignDarwinBinariesHook ]);
buildInputs = [ ncurses libX11 zlib lz4 ]
++ lib.optional stdenv.isDarwin libiconv;