diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2017-11-12 21:36:58 +0100 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2017-11-12 21:38:09 +0100 |
commit | 5f6b88c27f083c4966e970b62af5adf9009bc3de (patch) | |
tree | 2128c0c73e7c5e2d95f79a94f7823990b8026e9a /pkgs/tools/filesystems/genext2fs/default.nix | |
parent | 327c351cb2857657115672f36d7642c68c8727cd (diff) |
genext2fs: fix handling of symlinks of length exactly 60
Amusingly enough, /nix/store/...-kmod-24/bin/kmod is exactly 60
characters.
Diffstat (limited to 'pkgs/tools/filesystems/genext2fs/default.nix')
-rw-r--r-- | pkgs/tools/filesystems/genext2fs/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/tools/filesystems/genext2fs/default.nix b/pkgs/tools/filesystems/genext2fs/default.nix index acb992b24ad2..0ef85abd2b77 100644 --- a/pkgs/tools/filesystems/genext2fs/default.nix +++ b/pkgs/tools/filesystems/genext2fs/default.nix @@ -8,6 +8,12 @@ stdenv.mkDerivation { sha256 = "1z7czvsf3ircvz2cw1cf53yifsq29ljxmj15hbgc79l6gbxbnka0"; }; + # https://sourceforge.net/p/genext2fs/bugs/2/ + # Will be fixed in the next release, whenever this happens + postPatch = '' + sed -e 's@4 [*] (EXT2_TIND_BLOCK+1)@-1+&@' -i genext2fs.c + ''; + meta = with stdenv.lib; { homepage = http://genext2fs.sourceforge.net/; description = "A tool to generate ext2 filesystem images without requiring root privileges"; |