Skip to content

Commit

Permalink
textql: fix darwin build
Browse files Browse the repository at this point in the history
(cherry picked from commit 1acf671)
  • Loading branch information
LnL7 committed Sep 22, 2017
1 parent 83b72a9 commit 90a034b
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkgs/development/tools/textql/default.nix
Expand Up @@ -4,7 +4,7 @@ buildGoPackage rec {
name = "textql-${version}";
version = "2.0.3";
rev = "${version}";

goPackagePath = "github.com/dinedal/textql";

src = fetchFromGitHub {
Expand All @@ -16,6 +16,10 @@ buildGoPackage rec {

goDeps = ./deps.nix;

preFixup = stdenv.lib.optionalString stdenv.isDarwin ''
install_name_tool -delete_rpath $out/lib $bin/bin/textql
'';

meta = with stdenv.lib; {
description = "Execute SQL against structured text like CSV or TSV";
homepage = https://github.com/dinedal/textql;
Expand Down

0 comments on commit 90a034b

Please sign in to comment.