about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPaul Meyer2024-11-14 15:19:54 +0100
committerGitHub2024-11-14 15:19:54 +0100
commit4493f72bfce88130016da49de28f06747c50bb3a (patch)
tree355b7bc4e7e27b8e7eed60eb5eb99f74c052724b
parentd7afffe7068f8ca1eeeb5c529dca6ed85ed783de (diff)
parente6d544a46ee03cb5c63494869e15fce6135d1906 (diff)
dnf5: 5.2.6.2 -> 5.2.7.0 (#355666)
-rw-r--r--pkgs/by-name/dn/dnf5/package.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/by-name/dn/dnf5/package.nix b/pkgs/by-name/dn/dnf5/package.nix
index 3d9398e5a58f..f90845a56872 100644
--- a/pkgs/by-name/dn/dnf5/package.nix
+++ b/pkgs/by-name/dn/dnf5/package.nix
@@ -32,7 +32,7 @@
 
 stdenv.mkDerivation (finalAttrs: {
   pname = "dnf5";
-  version = "5.2.6.2";
+  version = "5.2.7.0";
 
   outputs = [
     "out"
@@ -43,7 +43,7 @@ stdenv.mkDerivation (finalAttrs: {
     owner = "rpm-software-management";
     repo = "dnf5";
     rev = finalAttrs.version;
-    hash = "sha256-V/8vVKgQphWiCfdIlBMPHaJiOSIYUIEeYdt9Rm+8rCY=";
+    hash = "sha256-gKPC8nrEoayOGGrO+pk164w1xRuhrx74JcxJ1JDhOug=";
   };
 
   nativeBuildInputs =
@@ -102,13 +102,14 @@ stdenv.mkDerivation (finalAttrs: {
   '';
 
   prePatch = ''
+    substituteInPlace CMakeLists.txt \
+      --replace-fail "/usr/lib/systemd/system" "$out/lib/systemd/system"
     substituteInPlace dnf5daemon-server/dbus/CMakeLists.txt \
-      --replace '/etc' "$out/etc" \
-      --replace '/usr' "$out"
+      --replace-fail "/usr" "$out"
     substituteInPlace dnf5daemon-server/polkit/CMakeLists.txt \
-      --replace '/usr' "$out"
+      --replace-fail "/usr" "$out"
     substituteInPlace dnf5/CMakeLists.txt \
-      --replace '/etc/bash_completion.d' "$out/etc/bash_completion.d"
+      --replace-fail "/etc/bash_completion.d" "$out/etc/bash_completion.d"
   '';
 
   dontFixCmake = true;