Merge pull request #216917 from necauqua/starsector-fix-icon

starsector: fix the icon symlink

authored by

Thiago Kenji Okada and committed by
GitHub
966ffeba 6f5673f7

+10 -10
+10 -10
pkgs/games/starsector/default.nix
··· 1 { lib 2 , fetchzip 3 - , libXxf86vm 4 , libGL 5 , makeWrapper 6 , openal ··· 48 cp -r ./* $out/share/starsector 49 50 mkdir -p $out/share/icons/hicolor/64x64/apps 51 - ln -s $out/graphics/ui/s_icon64.png $out/share/icons/hicolor/64x64/apps/starsector.png 52 53 wrapProgram $out/share/starsector/starsector.sh \ 54 --prefix PATH : ${lib.makeBinPath [ openjdk xorg.xrandr ]} \ ··· 71 --replace "-XX:+CompilerThreadHintNoPreempt" "-XX:+UnlockDiagnosticVMOptions -XX:-BytecodeVerificationRemote -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSConcurrentMTEnabled -XX:+DisableExplicitGC" 72 ''; 73 74 - meta = with lib; { 75 - description = "Open-world single-player space-combat, roleplaying, exploration, and economic game"; 76 - homepage = "https://fractalsoftworks.com"; 77 - sourceProvenance = with sourceTypes; [ binaryBytecode ]; 78 - license = licenses.unfree; 79 - maintainers = with maintainers; [ bbigras rafaelrc ]; 80 - }; 81 - 82 passthru.updateScript = writeScript "starsector-update-script" '' 83 #!/usr/bin/env nix-shell 84 #!nix-shell -i bash -p curl gnugrep common-updater-scripts ··· 86 version=$(curl -s https://fractalsoftworks.com/preorder/ | grep -oP "https://f005.backblazeb2.com/file/fractalsoftworks/release/starsector_linux-\K.*?(?=\.zip)" | head -1) 87 update-source-version ${pname} "$version" --file=./pkgs/games/starsector/default.nix 88 ''; 89 }
··· 1 { lib 2 , fetchzip 3 , libGL 4 , makeWrapper 5 , openal ··· 47 cp -r ./* $out/share/starsector 48 49 mkdir -p $out/share/icons/hicolor/64x64/apps 50 + ln -s $out/share/starsector/graphics/ui/s_icon64.png \ 51 + $out/share/icons/hicolor/64x64/apps/starsector.png 52 53 wrapProgram $out/share/starsector/starsector.sh \ 54 --prefix PATH : ${lib.makeBinPath [ openjdk xorg.xrandr ]} \ ··· 71 --replace "-XX:+CompilerThreadHintNoPreempt" "-XX:+UnlockDiagnosticVMOptions -XX:-BytecodeVerificationRemote -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSConcurrentMTEnabled -XX:+DisableExplicitGC" 72 ''; 73 74 passthru.updateScript = writeScript "starsector-update-script" '' 75 #!/usr/bin/env nix-shell 76 #!nix-shell -i bash -p curl gnugrep common-updater-scripts ··· 78 version=$(curl -s https://fractalsoftworks.com/preorder/ | grep -oP "https://f005.backblazeb2.com/file/fractalsoftworks/release/starsector_linux-\K.*?(?=\.zip)" | head -1) 79 update-source-version ${pname} "$version" --file=./pkgs/games/starsector/default.nix 80 ''; 81 + 82 + meta = with lib; { 83 + description = "Open-world single-player space-combat, roleplaying, exploration, and economic game"; 84 + homepage = "https://fractalsoftworks.com"; 85 + sourceProvenance = with sourceTypes; [ binaryBytecode ]; 86 + license = licenses.unfree; 87 + maintainers = with maintainers; [ bbigras rafaelrc ]; 88 + }; 89 }