mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 23:13:19 +00:00
bindfs: fix macos build by disabling system binding
This adds `--disable-macos-fs-link` to configureFlags on darwin platforms, removing /etc/fstab and `mount -t bindfs` support. This isn't ideal, but is better than the tool not building at all.
This commit is contained in:
parent
6c3df72002
commit
3d54e5af5c
@ -21,6 +21,8 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
buildInputs = if stdenv.isDarwin then [ fuse ] else [ fuse3 ];
|
||||
|
||||
configureFlags = lib.optional stdenv.isDarwin "--disable-macos-fs-link";
|
||||
|
||||
postFixup = ''
|
||||
ln -s $out/bin/bindfs $out/bin/mount.fuse.bindfs
|
||||
'';
|
||||
@ -32,6 +34,5 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
license = lib.licenses.gpl2Only;
|
||||
maintainers = with lib.maintainers; [ lovek323 lovesegfault ];
|
||||
platforms = lib.platforms.unix;
|
||||
broken = stdenv.isDarwin; # last successful build 2023-11-17
|
||||
};
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user