diff options
author | Vladimír Čunát <v@cunat.cz> | 2023-06-23 08:16:49 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2023-06-23 08:22:47 +0200 |
commit | c311c7c5cc53618c333609d899d2c4263d74603a (patch) | |
tree | 8108fa8be78e11bdc4d4570f00edba9d60ccbca9 /pkgs | |
parent | d6b30bd457638026fba7189ae8181cd8c03658df (diff) | |
download | nixpkgs-c311c7c5cc53618c333609d899d2c4263d74603a.tar nixpkgs-c311c7c5cc53618c333609d899d2c4263d74603a.tar.gz nixpkgs-c311c7c5cc53618c333609d899d2c4263d74603a.tar.bz2 nixpkgs-c311c7c5cc53618c333609d899d2c4263d74603a.tar.lz nixpkgs-c311c7c5cc53618c333609d899d2c4263d74603a.tar.xz nixpkgs-c311c7c5cc53618c333609d899d2c4263d74603a.tar.zst nixpkgs-c311c7c5cc53618c333609d899d2c4263d74603a.zip |
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
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/filesystems/e2fsprogs/default.nix | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/e2fsprogs/default.nix b/pkgs/tools/filesystems/e2fsprogs/default.nix index 71ce5b080b0..fd464302560 100644 --- a/pkgs/tools/filesystems/e2fsprogs/default.nix +++ b/pkgs/tools/filesystems/e2fsprogs/default.nix @@ -29,6 +29,13 @@ stdenv.mkDerivation rec { excludes = [ "lib/ext2fs/hashmap.h" ]; 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 = |