1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

libspotify: move defaults to package file

This commit is contained in:
Jan Malakhovski 2019-02-03 15:30:21 +00:00
parent 35a09f9923
commit 7706253e59
2 changed files with 2 additions and 4 deletions

View file

@ -1,4 +1,4 @@
{ stdenv, fetchurl, libspotify, alsaLib, readline, pkgconfig, apiKey, unzip, gnused }:
{ stdenv, fetchurl, libspotify, alsaLib, readline, pkgconfig, apiKey ? null, unzip, gnused }:
let
version = "12.1.51";

View file

@ -19395,9 +19395,7 @@ in
};
};
libspotify = callPackage ../development/libraries/libspotify {
apiKey = config.libspotify.apiKey or null;
};
libspotify = callPackage ../development/libraries/libspotify (config.libspotify or {});
sourcetrail = callPackage ../development/tools/sourcetrail { };