Skip to content

Commit

Permalink
btrfs-progs: hack to make it build on i686-linux
Browse files Browse the repository at this point in the history
/cc NixOS#61086.  I just wanted to unblock channels quickly.
  • Loading branch information
vcunat committed May 30, 2019
1 parent f71eeb3 commit aa440d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkgs/tools/filesystems/btrfs-progs/default.nix
Expand Up @@ -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"
'';

Expand Down

0 comments on commit aa440d8

Please sign in to comment.