mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-30 20:00:10 +00:00
fix: darwin compile errors
Co-authored-by: Brian J. Cardiff <459923+bcardiff@users.noreply.github.com>
This commit is contained in:
@@ -149,6 +149,11 @@ let
|
||||
# See https://github.com/crystal-lang/crystal/issues/8629
|
||||
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 && versionOlder version "1.3.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"'
|
||||
'';
|
||||
|
||||
# Defaults are 4
|
||||
@@ -156,6 +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"
|
||||
'';
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user