diff options
author | Thomas Tuegel <ttuegel@gmail.com> | 2015-05-17 15:12:14 -0500 |
---|---|---|
committer | Thomas Tuegel <ttuegel@gmail.com> | 2015-05-17 15:41:48 -0500 |
commit | 9529a0dae2e2ebc8120ad74458bfcaf7eadaf3a8 (patch) | |
tree | c7700a52dd78ac8f51347f86373484755329148b /pkgs/applications/audio/clementine | |
parent | ec69293f05ac467a8f31cdbd24481610b06ef399 (diff) | |
download | nixpkgs-9529a0dae2e2ebc8120ad74458bfcaf7eadaf3a8.tar nixpkgs-9529a0dae2e2ebc8120ad74458bfcaf7eadaf3a8.tar.gz nixpkgs-9529a0dae2e2ebc8120ad74458bfcaf7eadaf3a8.tar.bz2 nixpkgs-9529a0dae2e2ebc8120ad74458bfcaf7eadaf3a8.tar.lz nixpkgs-9529a0dae2e2ebc8120ad74458bfcaf7eadaf3a8.tar.xz nixpkgs-9529a0dae2e2ebc8120ad74458bfcaf7eadaf3a8.tar.zst nixpkgs-9529a0dae2e2ebc8120ad74458bfcaf7eadaf3a8.zip |
Build free part of Clementine on Hydra
Clementine consists of a large free part (the main application) and a small part with unfree dependencies (the Spotify blob). Add a top-level attribute for the free Clementine for users who don't want unfree software, and so that the bulk of Clementine will be in the binary cache.
Diffstat (limited to 'pkgs/applications/audio/clementine')
-rw-r--r-- | pkgs/applications/audio/clementine/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/applications/audio/clementine/default.nix b/pkgs/applications/audio/clementine/default.nix index cc13868e9d4..5ebe1b3b7b8 100644 --- a/pkgs/applications/audio/clementine/default.nix +++ b/pkgs/applications/audio/clementine/default.nix @@ -46,8 +46,8 @@ let usbmuxd ]; - unwrapped = stdenv.mkDerivation { - name = "clementine-unwrapped-${version}"; + free = stdenv.mkDerivation { + name = "clementine-free-${version}"; inherit patches src buildInputs; enableParallelBuilding = true; meta = with stdenv.lib; { @@ -91,7 +91,7 @@ with stdenv.lib; runCommand "clementine-${version}" { - inherit blob unwrapped; + inherit blob free; buildInputs = [ makeWrapper ] ++ gst_plugins; # for the setup-hooks dontPatchELF = true; dontStrip = true; @@ -109,7 +109,7 @@ runCommand "clementine-${version}" } '' mkdir -p $out/bin - makeWrapper "$unwrapped/bin/${exeName}" "$out/bin/${exeName}" \ + makeWrapper "$free/bin/${exeName}" "$out/bin/${exeName}" \ ${optionalString withSpotify "--set CLEMENTINE_SPOTIFYBLOB \"$blob/libexec/clementine\""} \ --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH" '' |