diff options
author | Julien Malka <julien@malka.sh> | 2024-04-20 13:36:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-20 13:36:46 +0200 |
commit | d26600a877dbc8c8f37f4168af37f8425ad944ce (patch) | |
tree | 6bb69c2dfe88744000d0bc934cb720573b704388 /pkgs | |
parent | f020635276266f36bc1da0c0e71bf4ecb7902c07 (diff) | |
parent | 60963ed2fe4303ba34131de1127b6b0e36eb6369 (diff) |
Merge pull request #300357 from FedericoSchonborn/waycheck-1.2.0
waycheck: 1.1.1 -> 1.2.0
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/by-name/wa/waycheck/package.nix | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/pkgs/by-name/wa/waycheck/package.nix b/pkgs/by-name/wa/waycheck/package.nix index ddbd67e882200..4ac98f6a640f0 100644 --- a/pkgs/by-name/wa/waycheck/package.nix +++ b/pkgs/by-name/wa/waycheck/package.nix @@ -12,14 +12,14 @@ stdenv.mkDerivation (finalAttrs: { pname = "waycheck"; - version = "1.1.1"; + version = "1.2.0"; src = fetchFromGitLab { domain = "gitlab.freedesktop.org"; owner = "serebit"; repo = "waycheck"; rev = "v${finalAttrs.version}"; - hash = "sha256-kwkdTMA15oJHz9AXEkBGeuzYdEUpNuv/xnhzoKOHCE4="; + hash = "sha256-sDfIR+F2W59mh50jXoOrcNZ1nuckm3r7jN613BH4Eog="; }; nativeBuildInputs = [ @@ -38,13 +38,14 @@ stdenv.mkDerivation (finalAttrs: { dontWrapGApps = true; - preFixup = '' - qtWrapperArgs+=("''${gappsWrapperArgs[@]}") + postPatch = '' + substituteInPlace scripts/mesonPostInstall.sh \ + --replace-fail "#!/usr/bin/env sh" "#!${stdenv.shell}" \ + --replace-fail "update-desktop-database -q" "update-desktop-database $out/share/applications" ''; - preInstall = '' - substituteInPlace ../scripts/mesonPostInstall.sh \ - --replace "update-desktop-database -q" "update-desktop-database $out/share/applications" + preFixup = '' + qtWrapperArgs+=("''${gappsWrapperArgs[@]}") ''; meta = { |