mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-10 16:45:51 +03:00
Add dontInstallSrc flag to buildGoPackage
This commit is contained in:
parent
4ce497e74f
commit
3f718a743d
@ -18,6 +18,8 @@ buildGoPackage rec {
|
||||
|
||||
buildFlags = "--tags nogui";
|
||||
|
||||
dontInstallSrc = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Forward secure, asynchronous messaging for the discerning";
|
||||
homepage = https://pond.imperialviolet.org;
|
||||
|
@ -20,6 +20,8 @@ buildGoPackage rec {
|
||||
|
||||
doCheck = true;
|
||||
|
||||
dontInstallSrc = true;
|
||||
|
||||
meta = {
|
||||
homepage = http://syncthing.net/;
|
||||
description = "Replaces Dropbox and BitTorrent Sync with something open, trustworthy and decentralized";
|
||||
|
@ -15,6 +15,10 @@ buildGoPackage rec {
|
||||
|
||||
buildInputs = [ iochan ];
|
||||
|
||||
propagatedBuildInputs = [ go ];
|
||||
|
||||
dontInstallSrc = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple, no-frills tool for Go cross compilation that behaves a lot like standard go build";
|
||||
homepage = https://github.com/mitchellh/gox;
|
||||
|
@ -64,12 +64,16 @@ go.stdenv.mkDerivation ( args // {
|
||||
installPhase = args.installPhase or ''
|
||||
runHook preInstall
|
||||
|
||||
mkdir $out
|
||||
|
||||
if [ -z "$dontInstallSrc" ]; then
|
||||
local dir
|
||||
for d in pkg src; do
|
||||
mkdir -p $out/share/go
|
||||
dir="$NIX_BUILD_TOP/go/$d"
|
||||
[ -e "$dir" ] && cp -r $dir $out/share/go
|
||||
done
|
||||
fi
|
||||
|
||||
dir="$NIX_BUILD_TOP/go/bin"
|
||||
[ -e "$dir" ] && cp -r $dir $out
|
||||
|
@ -13,6 +13,8 @@ buildGoPackage rec {
|
||||
sha256 = "1kbri59ppil52v7s992q8r6i1zk9lac0s2w00z2lsgc9w1z59qs0";
|
||||
};
|
||||
|
||||
dontInstallSrc = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple command line client for etcd";
|
||||
homepage = http://coreos.com/using-coreos/etcd/;
|
||||
|
@ -15,6 +15,8 @@ buildGoPackage rec {
|
||||
|
||||
subPackages = [ "./" ];
|
||||
|
||||
dontInstallSrc = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "An autocompletion daemon for the Go programming language";
|
||||
homepage = https://github.com/nsf/gocode;
|
||||
|
@ -16,6 +16,8 @@ buildGoPackage rec {
|
||||
|
||||
subPackages = [ "golint" ];
|
||||
|
||||
dontInstallSrc = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Linter for Go source code";
|
||||
homepage = https://github.com/golang/lint;
|
||||
|
@ -15,6 +15,8 @@ buildGoPackage rec {
|
||||
sha256 = "1drbypby0isdmkq44jmlv59k3jrwvq2jciaccxx2qc2nnx444fkq";
|
||||
};
|
||||
|
||||
dontInstallSrc = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Ctags-compatible tag generator for Go";
|
||||
homepage = https://github.com/nsf/gotags;
|
||||
|
@ -15,6 +15,8 @@ buildGoPackage rec {
|
||||
|
||||
subPackages = [ "./" ];
|
||||
|
||||
dontInstallSrc = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A highly-available key value store for shared configuration and service discovery";
|
||||
homepage = http://coreos.com/using-coreos/etcd/;
|
||||
|
@ -20,6 +20,8 @@ buildGoPackage rec {
|
||||
|
||||
buildInputs = [ go-nsq go-options toml perks go-hostpool ];
|
||||
|
||||
dontInstallSrc = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A realtime distributed messaging platform";
|
||||
homepage = http://nsq.io/;
|
||||
|
@ -16,6 +16,8 @@ buildGoPackage rec {
|
||||
|
||||
buildInputs = [ cli mapstructure memberlist logutils go-syslog mdns columnize circbuf ];
|
||||
|
||||
dontInstallSrc = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A service discovery and orchestration tool that is decentralized, highly available, and fault tolerant";
|
||||
homepage = http://www.serfdom.io/;
|
||||
|
@ -17,6 +17,8 @@ buildGoPackage rec {
|
||||
|
||||
subPackages = [ "./" ];
|
||||
|
||||
dontInstallSrc = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "A simple FUSE filesystem for mounting Android devices as a MTP device";
|
||||
homepage = https://github.com/hanwen/go-mtpfs;
|
||||
|
@ -29,6 +29,8 @@ buildGoPackage rec {
|
||||
|
||||
buildFlags = "-tags release";
|
||||
|
||||
dontInstallSrc = true;
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "Reverse proxy that creates a secure tunnel between from a public endpoint t
|
||||
o a locally running web service";
|
||||
|
@ -13,6 +13,8 @@ buildGoPackage rec {
|
||||
sha256 = "1f7x6a2c8ix6j5y1r0dq56b58bl2rs2ycbdqb9fz5zv1zk2w20rd";
|
||||
};
|
||||
|
||||
dontInstallSrc = true;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Flannel is an etcd backed network fabric for containers";
|
||||
homepage = https://github.com/coreos/flannel;
|
||||
|
Loading…
Reference in New Issue
Block a user