mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-08 19:45:42 +03:00
[staging-next] xfsprogs: fix build (#381400)
This commit is contained in:
commit
03c4436691
1 changed files with 16 additions and 0 deletions
|
@ -3,6 +3,7 @@
|
|||
stdenv,
|
||||
buildPackages,
|
||||
fetchurl,
|
||||
autoreconfHook,
|
||||
gettext,
|
||||
pkg-config,
|
||||
icu,
|
||||
|
@ -22,6 +23,14 @@ stdenv.mkDerivation rec {
|
|||
hash = "sha256-CDJAckfbeRzHDe+W5+JUvW7fBD3ISoCmLzzNbj3/0yk=";
|
||||
};
|
||||
|
||||
patches = [
|
||||
(fetchurl {
|
||||
name = "icu76.patch";
|
||||
url = "https://lore.kernel.org/linux-xfs/20250212081649.3502717-1-hi@alyssa.is/raw";
|
||||
hash = "sha256-Z7BW0B+/5eHWXdHre++wRtdbU/P6XZqudYx6EK5msIU=";
|
||||
})
|
||||
];
|
||||
|
||||
outputs = [
|
||||
"bin"
|
||||
"dev"
|
||||
|
@ -31,6 +40,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
depsBuildBuild = [ buildPackages.stdenv.cc ];
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
gettext
|
||||
pkg-config
|
||||
libuuid # codegen tool uses libuuid
|
||||
|
@ -61,6 +71,12 @@ stdenv.mkDerivation rec {
|
|||
patchShebangs ./install-sh
|
||||
'';
|
||||
|
||||
# The default --force would replace xfsprogs' custom install-sh.
|
||||
autoreconfFlags = [
|
||||
"--install"
|
||||
"--verbose"
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--disable-lib64"
|
||||
"--with-systemd-unit-dir=${placeholder "out"}/lib/systemd/system"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue