go-mtpfs: fix darwin build
This commit is contained in:
parent
c3887f0253
commit
77294205ac
1 changed files with 4 additions and 0 deletions
|
@ -16,5 +16,9 @@ buildGoPackage rec {
|
|||
sha256 = "1jcqp9n8fd9psfsnhfj6w97yp0zmyxplsig8pyp2gqzh4lnb5fqm";
|
||||
};
|
||||
|
||||
preFixup = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
install_name_tool -delete_rpath "$out/lib" $bin/bin/go-mtpfs
|
||||
'';
|
||||
|
||||
goDeps = ./deps.nix;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue