Unverified Commit 36fbe238 authored by Artturi's avatar Artturi Committed by GitHub
Browse files

Merge pull request #181778 from squalus/stdnotes-clean

standardnotes: remove duplicate files from output
parents 037e01a3 b61a6ea2
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -37,17 +37,14 @@ in appimageTools.wrapType2 rec {

  extraInstallCommands = ''
    # directory in /nix/store so readonly
    cp -r  ${appimageContents}/* $out
    cd $out
    chmod -R +w $out
    mv $out/bin/${name} $out/bin/${pname}

    # fixup and install desktop file
    ${desktop-file-utils}/bin/desktop-file-install --dir $out/share/applications \
      --set-key Exec --set-value ${pname} standard-notes.desktop
    mv usr/share/icons share

    rm usr/lib/* AppRun standard-notes.desktop .so*
      --set-key Exec --set-value ${pname} ${appimageContents}/standard-notes.desktop
    ln -s ${appimageContents}/usr/share/icons share
  '';

  meta = with lib; {