git.iko.soy/typeable/nixpkgs
on master help sign in
btrfs-progs: hack to make it build on i686-linux

/cc #61086. I just wanted to unblock channels quickly.

commitaa440d87866d43d463021b4ea2eaf3ac50d1f9a0 authorVladimír Čunát <v@cunat.cz> dateThu 30 May 2019, 09:25 (7 years ago) parentf71eeb3
1 file changed+2−1
pkgs/tools/filesystems/btrfs-progs/default.nix+2−1
pkgs/tools/filesystems/btrfs-progs/default.nix+2−1
@@ -20,7 +20,8 @@ stdenv.mkDerivation rec {
2020
2121 # for python cross-compiling
2222 _PYTHON_HOST_PLATFORM = stdenv.hostPlatform.config;
23− postConfigure = ''
23+ # The i686 case is a quick hack; I don't know what's wrong.
24+ postConfigure = stdenv.lib.optionalString (!stdenv.isi686) ''
2425 export LDSHARED="$LD -shared"
2526 '';
2627