netclient: use new Darwin SDK pattern

This commit is contained in:
Theodore Ni
2024-11-11 00:08:45 -08:00
parent c4592c087c
commit 527e6be2dc
+1 -3
View File
@@ -3,7 +3,6 @@
, lib
, libX11
, stdenv
, darwin
}:
buildGoModule rec {
@@ -19,8 +18,7 @@ buildGoModule rec {
vendorHash = "sha256-ENrBJ0XbCfLfzTVZEVtDBjGxupdiLI7USGVImkYWDdY=";
buildInputs = lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.Cocoa
++ lib.optional stdenv.hostPlatform.isLinux libX11;
buildInputs = lib.optional stdenv.hostPlatform.isLinux libX11;
hardeningEnabled = [ "pie" ];