gsctl: fix tests for linux
This commit is contained in:
parent
4baef01cd4
commit
239b635ac2
|
@ -1,4 +1,4 @@
|
||||||
{ lib, buildGoModule, fetchFromGitHub }:
|
{ lib, buildGoModule, fetchFromGitHub, kubectl, stdenv }:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
pname = "gsctl";
|
pname = "gsctl";
|
||||||
|
@ -13,10 +13,16 @@ buildGoModule rec {
|
||||||
|
|
||||||
vendorSha256 = "sha256-NeRABlKUpD2ZHRid/vu34Dh9uHZ+7IXWFPX8jkexUog=";
|
vendorSha256 = "sha256-NeRABlKUpD2ZHRid/vu34Dh9uHZ+7IXWFPX8jkexUog=";
|
||||||
|
|
||||||
ldflags =
|
ldflags = [
|
||||||
[ "-s" "-w" "-X github.com/giantswarm/gsctl/buildinfo.Version=${version}" ];
|
"-s" "-w"
|
||||||
|
"-X github.com/giantswarm/gsctl/buildinfo.Version=${version}"
|
||||||
|
];
|
||||||
|
|
||||||
doCheck = false;
|
checkInputs = [
|
||||||
|
kubectl
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = !stdenv.isDarwin;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "The Giant Swarm command line interface";
|
description = "The Giant Swarm command line interface";
|
||||||
|
|
Loading…
Reference in a new issue