From 9d63a5beea8b4a8b48df1e59edcc3d25d4fc3a72 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Sat, 2 May 2015 13:37:44 -0500 Subject: [PATCH] clementine: don't copy files unnecessarily --- pkgs/applications/audio/clementine/default.nix | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/audio/clementine/default.nix b/pkgs/applications/audio/clementine/default.nix index 7cb3aa41465f..c55f3f4d0aaf 100644 --- a/pkgs/applications/audio/clementine/default.nix +++ b/pkgs/applications/audio/clementine/default.nix @@ -65,11 +65,8 @@ stdenv.mkDerivation { ++ stdenv.lib.optional withSpotify libspotify; installPhase = '' - mkdir -p $out - cp -a ${wrapped}/* $out - chmod -R u+w-t $out - - wrapProgram "$out/bin/${wrappedExeName}" \ + mkdir -p $out/bin + makeWrapper "${unwrapped}/bin/${exeName}" "$out/bin/${exeName}" \ --prefix GST_PLUGIN_SYSTEM_PATH : "$GST_PLUGIN_SYSTEM_PATH" '';