summaryrefslogtreecommitdiffstats
path: root/pkgs/tools/filesystems
diff options
context:
space:
mode:
authorVladimír Čunát <v@cunat.cz>2019-05-30 09:25:26 +0200
committerVladimír Čunát <v@cunat.cz>2019-05-30 09:26:56 +0200
commitaa440d87866d43d463021b4ea2eaf3ac50d1f9a0 (patch)
tree71268f11b3cefe9ac3f2e7222fe68d8035f47500 /pkgs/tools/filesystems
parentf71eeb373562ec14ae72e41bb7abc14b95cc16be (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/filesystems')
-rw-r--r--pkgs/tools/filesystems/btrfs-progs/default.nix3
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 5efe1e0cabdc..b4539eb2f009 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"
'';