Skip to content

Commit 1acf671

Browse files
committedSep 22, 2017
textql: fix darwin build
1 parent 4acb425 commit 1acf671

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed
 

Diff for: ‎pkgs/development/tools/textql/default.nix

+5-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ buildGoPackage rec {
44
name = "textql-${version}";
55
version = "2.0.3";
66
rev = "${version}";
7-
7+
88
goPackagePath = "github.com/dinedal/textql";
99

1010
src = fetchFromGitHub {
@@ -16,6 +16,10 @@ buildGoPackage rec {
1616

1717
goDeps = ./deps.nix;
1818

19+
preFixup = stdenv.lib.optionalString stdenv.isDarwin ''
20+
install_name_tool -delete_rpath $out/lib $bin/bin/textql
21+
'';
22+
1923
meta = with stdenv.lib; {
2024
description = "Execute SQL against structured text like CSV or TSV";
2125
homepage = https://github.com/dinedal/textql;

0 commit comments

Comments
 (0)
Please sign in to comment.