mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-17 19:21:04 +00:00
dnf5: 5.2.6.2 -> 5.2.7.0
Signed-off-by: Paul Meyer <49727155+katexochen@users.noreply.github.com>
This commit is contained in:
parent
e0e61b8668
commit
e6d544a46e
|
@ -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…
Reference in a new issue