Merge pull request #308860 from TomaSajt/libation

libation: remove outdated practices and format

authored by Aleksana and committed by GitHub 031571e4 e3b013fe

+21 -20
+21 -20
pkgs/by-name/li/libation/package.nix
··· 1 - { lib 2 - , stdenv 3 - , buildDotnetModule 4 - , fetchFromGitHub 5 - , dotnetCorePackages 6 - , wrapGAppsHook3 1 + { 2 + lib, 3 + stdenv, 4 + buildDotnetModule, 5 + fetchFromGitHub, 6 + dotnetCorePackages, 7 + wrapGAppsHook3, 7 8 8 - , libX11 9 - , libICE 10 - , libSM 11 - , libXi 12 - , libXcursor 13 - , libXext 14 - , libXrandr 15 - , fontconfig 16 - , glew 17 - , gtk3 9 + libX11, 10 + libICE, 11 + libSM, 12 + libXi, 13 + libXcursor, 14 + libXext, 15 + libXrandr, 16 + fontconfig, 17 + glew, 18 + gtk3, 18 19 }: 19 20 20 21 buildDotnetModule rec { ··· 61 62 ]; 62 63 63 64 postInstall = '' 64 - install -Dm644 LoadByOS/LinuxConfigApp/libation_glass.svg $out/share/icons/hicolor/scalable/apps/${pname}.svg 65 - install -Dm644 LoadByOS/LinuxConfigApp/Libation.desktop $out/share/applications/${pname}.desktop 66 - substituteInPlace $out/share/applications/${pname}.desktop \ 67 - --replace "/usr/bin/libation" "${meta.mainProgram}" 65 + install -Dm644 LoadByOS/LinuxConfigApp/libation_glass.svg $out/share/icons/hicolor/scalable/apps/libation.svg 66 + install -Dm644 LoadByOS/LinuxConfigApp/Libation.desktop $out/share/applications/libation.desktop 67 + substituteInPlace $out/share/applications/libation.desktop \ 68 + --replace-fail "/usr/bin/libation" "${meta.mainProgram}" 68 69 ''; 69 70 70 71 # wrap manually, because we need lower case excutables