mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-25 17:55:21 +00:00
libtasn1: use optionalString, newer $(...) bash syntax
This commit is contained in:
@@ -35,8 +35,9 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
strictDeps = true;
|
||||
|
||||
doCheck = true;
|
||||
preCheck =
|
||||
if stdenv.hostPlatform.isDarwin then "export DYLD_LIBRARY_PATH=`pwd`/lib/.libs" else null;
|
||||
preCheck = lib.optionalString stdenv.hostPlatform.isDarwin ''
|
||||
export DYLD_LIBRARY_PATH=$(pwd)/lib/.libs
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
inherit gnutls samba qemu;
|
||||
|
||||
Reference in New Issue
Block a user