simple-scan: fix #26054 (#26085)

authored by montag451 and committed by Peter Hoeg 2e4e65c7 3a183888

+11
+11
pkgs/applications/graphics/simple-scan/default.nix
··· 29 29 postInstall = '' 30 30 mkdir -p $out/share/icons 31 31 mv $out/share/simple-scan/icons/* $out/share/icons/ 32 + ( 33 + cd ${gnome3.defaultIconTheme}/share/icons/Adwaita 34 + for f in `find . | grep 'scanner\.'` 35 + do 36 + local outFile="`echo "$out/share/icons/hicolor/$f" | sed \ 37 + -e 's#/devices/#/apps/#g' \ 38 + -e 's#scanner\.#simple-scan\.#g'`" 39 + mkdir -p "`realpath -m "$outFile/.."`" 40 + cp "$f" "$outFile" 41 + done 42 + ) 32 43 ''; 33 44 34 45 enableParallelBuilding = true;