textql: fix darwin build
This commit is contained in:
parent
4acb425c39
commit
1acf6716aa
@ -4,7 +4,7 @@ buildGoPackage rec {
|
||||
name = "textql-${version}";
|
||||
version = "2.0.3";
|
||||
rev = "${version}";
|
||||
|
||||
|
||||
goPackagePath = "github.com/dinedal/textql";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user