From 8422cef099b61ea952b84edb4500481a70db0661 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Tue, 10 Jan 2017 01:06:37 +0300 Subject: [PATCH] kdeWrapper: postpone /share linking till final buildEnv --- pkgs/development/libraries/kde-frameworks/kde-wrapper.nix | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/pkgs/development/libraries/kde-frameworks/kde-wrapper.nix b/pkgs/development/libraries/kde-frameworks/kde-wrapper.nix index 9ab6f7a10898..a1f289f5f2ba 100644 --- a/pkgs/development/libraries/kde-frameworks/kde-wrapper.nix +++ b/pkgs/development/libraries/kde-frameworks/kde-wrapper.nix @@ -61,13 +61,9 @@ stdenv.mkDerivation { fi done - ln -s "$env/share" "$out" - + mkdir -p "$out/nix-support" for drv in $unwrapped; do - if [ -a "$drv/nix-support/propagated-user-env-packages" ]; then - mkdir -p "$out/nix-support" - cat "$drv/nix-support/propagated-user-env-packages" >> "$out/nix-support/propagated-user-env-packages" - fi + echo "$drv" >> "$out/nix-support/propagated-user-env-packages" done ''; }