diff options
author | GeopJr <evan@geopjr.dev> | 2022-12-18 18:42:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-18 18:42:51 +0200 |
commit | 44073f6d1667ba1c723a6240b91ebacb3e72ee05 (patch) | |
tree | 4bf0933164af79b660e5b5ce5a91a6e46f1a5b8e /pkgs/development/compilers/crystal | |
parent | 3efc4e5f0365462048da25bed62d1b237f733a55 (diff) |
fix: version limits on unix_spec
Diffstat (limited to 'pkgs/development/compilers/crystal')
-rw-r--r-- | pkgs/development/compilers/crystal/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/compilers/crystal/default.nix b/pkgs/development/compilers/crystal/default.nix index f1143572956b7..ef835ff69f0a3 100644 --- a/pkgs/development/compilers/crystal/default.nix +++ b/pkgs/development/compilers/crystal/default.nix @@ -150,7 +150,7 @@ let substituteInPlace spec/std/socket/udp_socket_spec.cr \ --replace 'it "joins and transmits to multicast groups"' 'pending "joins and transmits to multicast groups"' - '' + lib.optionalString (stdenv.isDarwin && lib.versionOlder version "1.3.0") '' + '' + lib.optionalString (stdenv.isDarwin && lib.versionAtLeast version "1.3.0" && lib.versionOlder version "1.7.0") '' # See https://github.com/NixOS/nixpkgs/pull/195606#issuecomment-1356491277 substituteInPlace spec/compiler/loader/unix_spec.cr \ --replace 'it "parses file paths"' 'pending "parses file paths"' @@ -161,7 +161,7 @@ let export CRYSTAL_WORKERS=$NIX_BUILD_CORES export threads=$NIX_BUILD_CORES export CRYSTAL_CACHE_DIR=$TMP - export MACOSX_DEPLOYMENT_TARGET="10.11" + export MACOSX_DEPLOYMENT_TARGET=10.11 ''; |