1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00

e2fsprogs: fix cross compilation

This commit is contained in:
Yegor Timoshenko 2019-05-22 13:22:36 +03:00
parent 62f9685a60
commit 7409ec7e1e
No known key found for this signature in database
GPG key ID: B0B0D739BB47A03A

View file

@ -27,9 +27,15 @@ stdenv.mkDerivation rec {
configureFlags =
if stdenv.isLinux then [
"--enable-elf-shlibs" "--enable-symlink-install" "--enable-relative-symlinks"
# libuuid, libblkid, uuidd and fsck are in util-linux-ng (the "libuuid" dependency).
"--disable-libuuid" "--disable-uuidd" "--disable-libblkid" "--disable-fsck"
"--enable-elf-shlibs"
"--enable-symlink-install"
"--enable-relative-symlinks"
"--with-crond-dir=no"
# fsck, libblkid, libuuid and uuidd are in util-linux-ng (the "libuuid" dependency)
"--disable-fsck"
"--disable-libblkid"
"--disable-libuuid"
"--disable-uuidd"
] else [
"--enable-libuuid --disable-e2initrd-helper"
];