From 6a6b371a775c8ded3060ffd6984675dd1be4934e Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Fri, 7 Apr 2017 22:33:27 -0500 Subject: [PATCH] liblastfm: fix macOS build --- pkgs/development/libraries/liblastfm/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/libraries/liblastfm/default.nix b/pkgs/development/libraries/liblastfm/default.nix index 0beb689090a0..aa76505c3a07 100644 --- a/pkgs/development/libraries/liblastfm/default.nix +++ b/pkgs/development/libraries/liblastfm/default.nix @@ -1,4 +1,5 @@ -{ stdenv, fetchurl, qt4, pkgconfig, libsamplerate, fftwSinglePrec, which, cmake }: +{ stdenv, fetchurl, qt4, pkgconfig, libsamplerate, fftwSinglePrec, which, cmake +, darwin }: let version = "1.0.9"; in @@ -15,6 +16,7 @@ stdenv.mkDerivation rec { prefixKey = "--prefix "; propagatedBuildInputs = [ qt4 libsamplerate fftwSinglePrec ]; nativeBuildInputs = [ pkgconfig which cmake ]; + buildInputs = stdenv.lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.SystemConfiguration; meta = { homepage = http://github.com/lastfm/liblastfm;