Skip to content

Commit

Permalink
go-mtpfs: fix darwin build
Browse files Browse the repository at this point in the history
(cherry picked from commit 7729420)
  • Loading branch information
LnL7 committed Sep 11, 2017
1 parent 5566ca9 commit f15742b
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
'';

goDeps = ./deps.nix;
}

0 comments on commit f15742b

Please sign in to comment.