diff options
author | Shea Levy <shea@shealevy.com> | 2018-02-24 08:23:10 -0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2018-02-24 08:23:10 -0500 |
commit | c2911034c32c25e3588f5fdfd9b1a3097076aacb (patch) | |
tree | cc8ee78e62e4cc823e7854cd92b5b676619d01ff /pkgs | |
parent | 29542830a862c6256183a148f5c9a2bf981e4ab1 (diff) | |
download | nixlib-c2911034c32c25e3588f5fdfd9b1a3097076aacb.tar nixlib-c2911034c32c25e3588f5fdfd9b1a3097076aacb.tar.gz nixlib-c2911034c32c25e3588f5fdfd9b1a3097076aacb.tar.bz2 nixlib-c2911034c32c25e3588f5fdfd9b1a3097076aacb.tar.lz nixlib-c2911034c32c25e3588f5fdfd9b1a3097076aacb.tar.xz nixlib-c2911034c32c25e3588f5fdfd9b1a3097076aacb.tar.zst nixlib-c2911034c32c25e3588f5fdfd9b1a3097076aacb.zip |
btrfs-progs: Fix cross-compiling
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/tools/filesystems/btrfs-progs/default.nix | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pkgs/tools/filesystems/btrfs-progs/default.nix b/pkgs/tools/filesystems/btrfs-progs/default.nix index 46c5bc6071f5..fb24e1394b7b 100644 --- a/pkgs/tools/filesystems/btrfs-progs/default.nix +++ b/pkgs/tools/filesystems/btrfs-progs/default.nix @@ -12,12 +12,12 @@ stdenv.mkDerivation rec { sha256 = "1palnddw3d50kyflwk1j4xapbc6jniid6j5i9dsr8l8a7nkv7ich"; }; - nativeBuildInputs = [ pkgconfig ]; - buildInputs = [ - attr acl zlib libuuid e2fsprogs lzo - asciidoc xmlto docbook_xml_dtd_45 docbook_xsl libxslt zstd + nativeBuildInputs = [ + pkgconfig asciidoc xmlto docbook_xml_dtd_45 docbook_xsl libxslt ]; + buildInputs = [ attr acl zlib libuuid e2fsprogs lzo zstd ]; + # gcc bug with -O1 on ARM with gcc 4.8 # This should be fine on all platforms so apply universally patchPhase = "sed -i s/-O1/-O2/ configure"; |