mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
sshfs-fuse: Fix the build on i686-linux
The last upgrade (137142a72c
) broke the
build on i686. Thanks @globin for noticing this.
This commit is contained in:
parent
ab71280823
commit
6f02c3bf77
@ -3,16 +3,20 @@
|
||||
stdenv.mkDerivation rec {
|
||||
version = "3.2.0";
|
||||
name = "sshfs-fuse-${version}";
|
||||
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "libfuse";
|
||||
repo = "sshfs";
|
||||
rev = "sshfs-${version}";
|
||||
sha256 = "09pqdibhcj1p7m6vxkqiprvbcxp9iq2lm1hb6w7p8iarmvp80rlv";
|
||||
};
|
||||
|
||||
|
||||
buildInputs = [ pkgconfig glib fuse3 autoreconfHook ];
|
||||
|
||||
NIX_CFLAGS_COMPILE = stdenv.lib.optional
|
||||
(stdenv.system == "i686-linux")
|
||||
"-D_FILE_OFFSET_BITS=64";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/sbin
|
||||
ln -sf $out/bin/sshfs $out/sbin/mount.sshfs
|
||||
|
Loading…
Reference in New Issue
Block a user