git.iko.soy/typeable/nixpkgs
on master help sign in
libb2: fix build on ARM
commit409b97c95f80537a94d6183131b20d82e669a8ca authorRobert Schütz <robert.schuetz@stud.uni-heidelberg.de> dateFri 11 May 2018, 17:14 (9 years ago) parent03318ef
1 file changed+2−2
pkgs/development/libraries/libb2/default.nix+2−2
pkgs/development/libraries/libb2/default.nix+2−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, autoconf, automake, libtool }:
1+{ stdenv, hostPlatform, fetchurl, autoconf, automake, libtool }:
22
33stdenv.mkDerivation rec {
44 name = "libb2-${version}";
@@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
1414 ./autogen.sh
1515 '';
1616
17− configureFlags = [ "--enable-fat=yes" ];
17+ configureFlags = stdenv.lib.optional hostPlatform.isx86 "--enable-fat=yes";
1818
1919 nativeBuildInputs = [ autoconf automake libtool ];
2020