mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
dnf5: 5.2.6.2 -> 5.2.7.0 (#355666)
This commit is contained in:
commit
4493f72bfc
1 changed files with 7 additions and 6 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue