e2fsprogs: avoid incompatible features in mke2fs
by a patch taken from Debian's 1.47.0-2. Discussion: https://github.com/NixOS/nixpkgs/pull/229454#issuecomment-1601698426
This commit is contained in:
parent
d6b30bd457
commit
c311c7c5cc
|
@ -29,6 +29,13 @@ stdenv.mkDerivation rec {
|
||||||
excludes = [ "lib/ext2fs/hashmap.h" ];
|
excludes = [ "lib/ext2fs/hashmap.h" ];
|
||||||
extraPrefix = "";
|
extraPrefix = "";
|
||||||
})
|
})
|
||||||
|
# Avoid trouble with older systems like NixOS 23.05.
|
||||||
|
# TODO: most likely drop this at some point, e.g. when 23.05 loses support.
|
||||||
|
(fetchurl {
|
||||||
|
name = "mke2fs-avoid-incompatible-features.patch";
|
||||||
|
url = "https://git.kernel.org/pub/scm/fs/ext2/e2fsprogs.git/plain/debian/patches/disable-metadata_csum_seed-and-orphan_file-by-default?h=debian/master&id=3fb3d18baba90e5d48d94f4c0b79b2d271b0c913";
|
||||||
|
hash = "sha256-YD11K4s2bqv0rvzrxtaiodzLp3ztULlOlPUf1XcpxRY=";
|
||||||
|
})
|
||||||
];
|
];
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
|
|
Loading…
Reference in a new issue