btrfs-progs: hack to make it build on i686-linux

/cc #61086.  I just wanted to unblock channels quickly.
wip/yesman
Vladimír Čunát 5 years ago
parent f71eeb3735
commit aa440d8786
No known key found for this signature in database
GPG Key ID: E747DF1F9575A3AA
  1. 3
      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"
'';

Loading…
Cancel
Save