about summary refs log tree commit diff
path: root/pkgs/applications
diff options
context:
space:
mode:
authorNick Cao <nickcao@nichi.co>2024-06-04 16:10:04 -0400
committerGitHub <noreply@github.com>2024-06-04 16:10:04 -0400
commit9532d0589df04dba950b4cd7a093861f6d273a97 (patch)
tree5a0138a40e48e1382e979f9a861823e95f44e8dd /pkgs/applications
parent0fabb98fe2aab0e8c303149ff87db0a0b246f894 (diff)
parenta3026321a5633677338cc7d23e6eb8610bc6272a (diff)
Merge pull request #317054 from McSinyx/mepo-1.2.1
mepo: 1.2.0 -> 1.2.1
Diffstat (limited to 'pkgs/applications')
-rw-r--r--pkgs/applications/misc/mepo/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/applications/misc/mepo/default.nix b/pkgs/applications/misc/mepo/default.nix
index 23a57c343b4f5..afa5ffe3d7971 100644
--- a/pkgs/applications/misc/mepo/default.nix
+++ b/pkgs/applications/misc/mepo/default.nix
@@ -17,23 +17,23 @@
 , util-linux
 , xwininfo
 , zenity
-, zig_0_11
+, zig_0_12
 }:
 
 stdenv.mkDerivation (finalAttrs: {
   pname = "mepo";
-  version = "1.2.0";
+  version = "1.2.1";
 
   src = fetchFromSourcehut {
     owner = "~mil";
     repo = "mepo";
     rev = finalAttrs.version;
-    hash = "sha256-sxN7yTnk3KDAkP/d3miKa2bEgB3AUaf9/M9ajJyRt3g=";
+    hash = "sha256-Ii5E9TgUxzlVIdkKS/6RtasOETeclMm1yoU86gs4hB8=";
   };
 
   nativeBuildInputs = [
     pkg-config
-    zig_0_11.hook
+    zig_0_12.hook
     makeWrapper
   ];
 
@@ -56,10 +56,10 @@ stdenv.mkDerivation (finalAttrs: {
 
   postFixup = ''
     substituteInPlace $out/bin/mepo_ui_menu_user_pin_updater.sh \
-      --replace /usr/libexec/geoclue-2.0 ${geoclue2-with-demo-agent}/libexec/geoclue-2.0
+      --replace-fail /usr/libexec/geoclue-2.0 ${geoclue2-with-demo-agent}/libexec/geoclue-2.0
     substituteInPlace $out/bin/mepo_ui_central_menu.sh \
-      --replace "grep mepo_" "grep '^\.mepo_\|^mepo_'" \
-      --replace " ls " " ls -a " #circumvent wrapping for script detection
+      --replace-fail "grep mepo_" "grep '^\.mepo_\|^mepo_'" \
+      --replace-fail " ls " " ls -a " #circumvent wrapping for script detection
     for program in $out/bin/* ; do
       wrapProgram $program \
         --suffix PATH : $out/bin:${lib.makeBinPath ([