cloudlens: fix darwin build (#345347)

This commit is contained in:
Nick Cao
2024-09-30 09:14:54 -04:00
committed by GitHub
+2 -2
View File
@@ -3,7 +3,7 @@
, fetchFromGitHub
, autoPatchelfHook
, xclip
,
, stdenv
}:
buildGoModule rec {
@@ -27,7 +27,7 @@ buildGoModule rec {
"-X=github.com/one2nc/cloudlens/cmd.date=1970-01-01T00:00:00Z"
];
nativeBuildInputs = [ autoPatchelfHook ];
nativeBuildInputs = lib.optional stdenv.hostPlatform.isLinux autoPatchelfHook;
buildInputs = [ xclip ];