Merge pull request #181778 from squalus/stdnotes-clean

standardnotes: remove duplicate files from output

authored by Artturi and committed by GitHub 36fbe238 037e01a3

+2 -5
+2 -5
pkgs/applications/editors/standardnotes/default.nix
··· 37 38 extraInstallCommands = '' 39 # directory in /nix/store so readonly 40 - cp -r ${appimageContents}/* $out 41 cd $out 42 chmod -R +w $out 43 mv $out/bin/${name} $out/bin/${pname} 44 45 # fixup and install desktop file 46 ${desktop-file-utils}/bin/desktop-file-install --dir $out/share/applications \ 47 - --set-key Exec --set-value ${pname} standard-notes.desktop 48 - mv usr/share/icons share 49 - 50 - rm usr/lib/* AppRun standard-notes.desktop .so* 51 ''; 52 53 meta = with lib; {
··· 37 38 extraInstallCommands = '' 39 # directory in /nix/store so readonly 40 cd $out 41 chmod -R +w $out 42 mv $out/bin/${name} $out/bin/${pname} 43 44 # fixup and install desktop file 45 ${desktop-file-utils}/bin/desktop-file-install --dir $out/share/applications \ 46 + --set-key Exec --set-value ${pname} ${appimageContents}/standard-notes.desktop 47 + ln -s ${appimageContents}/usr/share/icons share 48 ''; 49 50 meta = with lib; {