Skip to content

Commit

Permalink
go-mtpfs: fix darwin build
Browse files Browse the repository at this point in the history
  • Loading branch information
LnL7 committed Sep 11, 2017
1 parent c3887f0 commit 7729420
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/tools/filesystems/go-mtpfs/default.nix
Expand Up @@ -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

This comment has been minimized.

Copy link
@copumpkin

copumpkin Sep 11, 2017

Member

This issue is common enough that we probably should do it more centrally.

This comment has been minimized.

Copy link
@LnL7

LnL7 Sep 11, 2017

Author Member

Yeah

'';

goDeps = ./deps.nix;
}

0 comments on commit 7729420

Please sign in to comment.