mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
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 {
|
||||
pname = "gsctl";
|
||||
@ -13,10 +13,16 @@ buildGoModule rec {
|
||||
|
||||
vendorSha256 = "sha256-NeRABlKUpD2ZHRid/vu34Dh9uHZ+7IXWFPX8jkexUog=";
|
||||
|
||||
ldflags =
|
||||
[ "-s" "-w" "-X github.com/giantswarm/gsctl/buildinfo.Version=${version}" ];
|
||||
ldflags = [
|
||||
"-s" "-w"
|
||||
"-X github.com/giantswarm/gsctl/buildinfo.Version=${version}"
|
||||
];
|
||||
|
||||
doCheck = false;
|
||||
checkInputs = [
|
||||
kubectl
|
||||
];
|
||||
|
||||
doCheck = !stdenv.isDarwin;
|
||||
|
||||
meta = with lib; {
|
||||
description = "The Giant Swarm command line interface";
|
||||
|
Loading…
Reference in New Issue
Block a user