diff options
author | vbgl <vbgl@users.noreply.github.com> | 2016-09-12 15:13:40 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-12 15:13:40 +0200 |
commit | 30107249b1a5681771591cd65aa4f1c98f4cb023 (patch) | |
tree | 25c3c26774f24be492eb43c40a50544a3880a2c6 /pkgs/top-level/lua-packages.nix | |
parent | 44dc13aad6442406540f899f9fd08d87ab4ee5d5 (diff) | |
parent | 637412e37345ec204af6f388ab0b77664f38fa2a (diff) |
Merge pull request #17973 from vbgl/mpv-darwin
mpv: fix on darwin
Diffstat (limited to 'pkgs/top-level/lua-packages.nix')
-rw-r--r-- | pkgs/top-level/lua-packages.nix | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/top-level/lua-packages.nix b/pkgs/top-level/lua-packages.nix index c065ac8290a30..83499fa321846 100644 --- a/pkgs/top-level/lua-packages.nix +++ b/pkgs/top-level/lua-packages.nix @@ -192,6 +192,11 @@ let patchPhase = '' sed -e "s,^LUAPREFIX_linux.*,LUAPREFIX_linux=$out," \ -i src/makefile + '' + stdenv.lib.optionalString stdenv.isDarwin '' + export PLAT=macosx + export LUAPREFIX_macosx=$out + substituteInPlace src/Makefile --replace gcc cc \ + --replace 10.3 10.5 ''; meta = { |