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";