diff options
author | Will Dietz <w@wdtz.org> | 2018-03-26 13:57:24 -0500 |
---|---|---|
committer | Will Dietz <w@wdtz.org> | 2018-03-26 13:58:44 -0500 |
commit | da0da6177dce9c06b9201ef06bff96f5f590635d (patch) | |
tree | a8364b5afdb978c239020d3cdd4913bdc9ef0557 /pkgs/tools/filesystems/nilfs-utils/default.nix | |
parent | 59a53aada0965bbbfa79349f4d7eed9ff50b4058 (diff) |
nilfs-utils: apply upstream patches to fix w/musl
Diffstat (limited to 'pkgs/tools/filesystems/nilfs-utils/default.nix')
-rw-r--r-- | pkgs/tools/filesystems/nilfs-utils/default.nix | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/nilfs-utils/default.nix b/pkgs/tools/filesystems/nilfs-utils/default.nix index 977add39b94b2..5bce330651922 100644 --- a/pkgs/tools/filesystems/nilfs-utils/default.nix +++ b/pkgs/tools/filesystems/nilfs-utils/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchurl, libuuid, libselinux }: +{ stdenv, fetchurl, fetchpatch, libuuid, libselinux }: let sourceInfo = rec { version = "2.2.7"; @@ -23,6 +23,18 @@ stdenv.mkDerivation rec { sed -e 's@/sbin/@'"$out"'/sbin/@' -i ./lib/cleaner*.c ''; + patches = [ + # Fix w/musl + (fetchpatch { + url = "https://github.com/nilfs-dev/nilfs-utils/commit/115fe4b976858c487cf83065f513d8626089579a.patch"; + sha256 = "0h89jz9l5d4rqj647ljbnv451l4ncqpsvzj0v70mn5391hfwsjlv"; + }) + (fetchpatch { + url = "https://github.com/nilfs-dev/nilfs-utils/commit/51b32c614be9e98c32de7f531ee600ca0740946f.patch"; + sha256 = "1ycq83c6jjy74aif47v075k5y2szzwhq6mbcrpd1z4b4i1x6yhpn"; + }) + ]; + # FIXME: https://github.com/NixOS/patchelf/pull/98 is in, but stdenv # still doesn't use it # |