cloudlens: fix darwin build

This commit is contained in:
Olivér Falvai 2024-09-29 21:34:47 +02:00
parent 2dcd9c55e8
commit dce718aa83
No known key found for this signature in database

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 ];