Update pkgs/tools/typesetting/lowdown/default.nix

Co-authored-by: Dmitry Kalinkin <dmitry.kalinkin@gmail.com>
This commit is contained in:
Hlöðver Sigurðsson 2021-05-31 08:41:51 +02:00 committed by GitHub
parent db89e667af
commit 33e9bc9b43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -14,7 +14,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ which ]
++ lib.optionals stdenv.isDarwin [ fixDarwinDylibNames ];
preConfigure = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64)
preConfigure = lib.optionalString (stdenv.isDarwin && stdenv.isAarch64) ''
echo 'HAVE_SANDBOX_INIT=0' > configure.local
''
"echo 'HAVE_SANDBOX_INIT=0' > configure.local";
configurePhase = ''