summary refs log tree commit diff
path: root/pkgs/development/tools/misc/luarocks/darwin-3.1.3.patch
diff options
context:
space:
mode:
authorAndrew Childs <lorne@cons.org.nz>2021-02-05 15:51:12 +0900
committerAndrew Childs <lorne@cons.org.nz>2021-04-11 09:47:10 +0900
commit2316ada93f48a94f0dd7d2cc7dc5592b3f336a70 (patch)
tree2c2fdd8ebd139447f7964efe69ae85f82941281e /pkgs/development/tools/misc/luarocks/darwin-3.1.3.patch
parent6605fadc687b2e3f3f3d611556ba36ff30eaf612 (diff)
downloadnixpkgs-2316ada93f48a94f0dd7d2cc7dc5592b3f336a70.tar
nixpkgs-2316ada93f48a94f0dd7d2cc7dc5592b3f336a70.tar.gz
nixpkgs-2316ada93f48a94f0dd7d2cc7dc5592b3f336a70.tar.bz2
nixpkgs-2316ada93f48a94f0dd7d2cc7dc5592b3f336a70.tar.lz
nixpkgs-2316ada93f48a94f0dd7d2cc7dc5592b3f336a70.tar.xz
nixpkgs-2316ada93f48a94f0dd7d2cc7dc5592b3f336a70.tar.zst
nixpkgs-2316ada93f48a94f0dd7d2cc7dc5592b3f336a70.zip
luarocks: use targetPlatform.darwinMinVersion as default
Diffstat (limited to 'pkgs/development/tools/misc/luarocks/darwin-3.1.3.patch')
-rw-r--r--pkgs/development/tools/misc/luarocks/darwin-3.1.3.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/tools/misc/luarocks/darwin-3.1.3.patch b/pkgs/development/tools/misc/luarocks/darwin-3.1.3.patch
index 4ba883f0113..8070af173aa 100644
--- a/pkgs/development/tools/misc/luarocks/darwin-3.1.3.patch
+++ b/pkgs/development/tools/misc/luarocks/darwin-3.1.3.patch
@@ -7,7 +7,7 @@ index c5af5a2..1949fdc 100644
        defaults.arch = "macosx-"..target_cpu
        defaults.variables.LIBFLAG = "-bundle -undefined dynamic_lookup -all_load"
 -      local version = util.popen_read("sw_vers -productVersion")
-+      local version = os.getenv("MACOSX_DEPLOYMENT_TARGET") or "10.12"
++      local version = os.getenv("MACOSX_DEPLOYMENT_TARGET") or "@darwinMinVersion@"
        version = tonumber(version and version:match("^[^.]+%.([^.]+)")) or 3
        if version >= 10 then
           version = 8