Skip to content

Commit

Permalink
dnf5: 5.2.6.2 -> 5.2.7.0 (NixOS#355666)
Browse files Browse the repository at this point in the history
  • Loading branch information
katexochen authored Nov 14, 2024
2 parents d7afffe + e6d544a commit 4493f72
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions pkgs/by-name/dn/dnf5/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

stdenv.mkDerivation (finalAttrs: {
pname = "dnf5";
version = "5.2.6.2";
version = "5.2.7.0";

outputs = [
"out"
Expand All @@ -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 =
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 4493f72

Please sign in to comment.