diff options
author | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-01-22 06:28:12 +0000 |
---|---|---|
committer | Vincent Laporte <Vincent.Laporte@gmail.com> | 2017-01-25 06:54:07 +0000 |
commit | c57715570a27ce89df57234e3ce7f1eb7c64cfe4 (patch) | |
tree | 48b848ea3ed976b83d9d3a277a615a27bf94d953 /pkgs | |
parent | cad9bdc78d3135aacb822874aa8274e7bc3a7d89 (diff) | |
download | nixlib-c57715570a27ce89df57234e3ce7f1eb7c64cfe4.tar nixlib-c57715570a27ce89df57234e3ce7f1eb7c64cfe4.tar.gz nixlib-c57715570a27ce89df57234e3ce7f1eb7c64cfe4.tar.bz2 nixlib-c57715570a27ce89df57234e3ce7f1eb7c64cfe4.tar.lz nixlib-c57715570a27ce89df57234e3ce7f1eb7c64cfe4.tar.xz nixlib-c57715570a27ce89df57234e3ce7f1eb7c64cfe4.tar.zst nixlib-c57715570a27ce89df57234e3ce7f1eb7c64cfe4.zip |
freealut: fix build on Darwin
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/freealut/default.nix | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/libraries/freealut/default.nix b/pkgs/development/libraries/freealut/default.nix index 39d63a8bd693..2c9a893284be 100644 --- a/pkgs/development/libraries/freealut/default.nix +++ b/pkgs/development/libraries/freealut/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, openal }: +{ stdenv, darwin, fetchurl, openal }: stdenv.mkDerivation rec { name = "freealut-1.1.0"; @@ -8,12 +8,15 @@ stdenv.mkDerivation rec { sha256 = "0kzlil6112x2429nw6mycmif8y6bxr2cwjcvp18vh6s7g63ymlb0"; }; - buildInputs = [ openal ]; + buildInputs = [ openal + ] ++ stdenv.lib.optional stdenv.isDarwin + darwin.apple_sdk.frameworks.OpenAL + ; meta = { homepage = "http://openal.org/"; description = "Free implementation of OpenAL's ALUT standard"; license = stdenv.lib.licenses.lgpl2; - platforms = stdenv.lib.platforms.linux; + platforms = stdenv.lib.platforms.unix; }; } |