diff options
author | Vladimír Čunát <v@cunat.cz> | 2019-05-30 09:25:26 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2019-05-30 09:26:56 +0200 |
commit | aa440d87866d43d463021b4ea2eaf3ac50d1f9a0 (patch) | |
tree | 71268f11b3cefe9ac3f2e7222fe68d8035f47500 /pkgs/tools | |
parent | f71eeb373562ec14ae72e41bb7abc14b95cc16be (diff) |
btrfs-progs: hack to make it build on i686-linux
/cc #61086. I just wanted to unblock channels quickly.
Diffstat (limited to 'pkgs/tools')
-rw-r--r-- | pkgs/tools/filesystems/btrfs-progs/default.nix | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/tools/filesystems/btrfs-progs/default.nix b/pkgs/tools/filesystems/btrfs-progs/default.nix index 5efe1e0cabdc7..b4539eb2f0096 100644 --- a/pkgs/tools/filesystems/btrfs-progs/default.nix +++ b/pkgs/tools/filesystems/btrfs-progs/default.nix @@ -20,7 +20,8 @@ stdenv.mkDerivation rec { # for python cross-compiling _PYTHON_HOST_PLATFORM = stdenv.hostPlatform.config; - postConfigure = '' + # The i686 case is a quick hack; I don't know what's wrong. + postConfigure = stdenv.lib.optionalString (!stdenv.isi686) '' export LDSHARED="$LD -shared" ''; |