nordic: make sddm a separate output

It brings some kde stuff into the environment, and that may not be
desirable when one does not need it.

+18 -8
+18 -8
pkgs/data/themes/nordic/default.nix
··· 80 80 81 81 sourceRoot = "."; 82 82 83 + outputs = [ "out" "sddm" ]; 84 + 83 85 nativeBuildInputs = [ jdupes ]; 84 86 85 - propagatedUserEnvPkgs = [ 86 - gtk-engine-murrine 87 - breeze-icons 88 - plasma-framework 89 - plasma-workspace 90 - ]; 87 + propagatedUserEnvPkgs = [ gtk-engine-murrine ]; 91 88 92 89 dontWrapQtApps = true; 93 90 ··· 119 116 rmdir $out/share/themes/Nordic/extras{/wallpapers,} 120 117 121 118 # move kde related contents to appropriate directories 122 - mkdir -p $out/share/{aurorae/themes,color-schemes,Kvantum,plasma,sddm/themes,icons} 119 + mkdir -p $out/share/{aurorae/themes,color-schemes,Kvantum,plasma,icons} 123 120 mv -v $out/share/themes/Nordic/kde/aurorae/* $out/share/aurorae/themes/ 124 121 mv -v $out/share/themes/Nordic/kde/colorschemes/* $out/share/color-schemes/ 125 122 mv -v $out/share/themes/Nordic/kde/konsole $out/share/ 126 123 mv -v $out/share/themes/Nordic/kde/kvantum/* $out/share/Kvantum/ 127 124 mv -v $out/share/themes/Nordic/kde/plasma/look-and-feel $out/share/plasma/ 128 - mv -v $out/share/themes/Nordic/kde/sddm/* $out/share/sddm/themes/ 129 125 mv -v $out/share/themes/Nordic/kde/folders/* $out/share/icons/ 130 126 mv -v $out/share/themes/Nordic/kde/cursors/*-cursors $out/share/icons/ 127 + 128 + mkdir -p $sddm/share/sddm/themes 129 + mv -v $out/share/themes/Nordic/kde/sddm/* $sddm/share/sddm/themes/ 130 + 131 131 rm -rf $out/share/themes/Nordic/kde 132 132 133 133 # Replace duplicate files with symbolic links to the first file in ··· 135 135 jdupes --quiet --link-soft --recurse $out/share 136 136 137 137 runHook postInstall 138 + ''; 139 + 140 + postFixup = '' 141 + # Propagate sddm theme dependencies to user env otherwise sddm 142 + # does find them. Putting them in buildInputs is not enough. 143 + 144 + mkdir -p $sddm/nix-support 145 + 146 + printWords ${breeze-icons} ${plasma-framework} ${plasma-workspace} \ 147 + >> $sddm/nix-support/propagated-user-env-packages 138 148 ''; 139 149 140 150 meta = with lib; {