sshesame: fix build on darwin

This commit is contained in:
Weijia Wang 2024-07-02 15:46:53 +02:00
parent fc3cb14594
commit 11d61d3d38

View File

@ -1,6 +1,7 @@
{ lib
, buildGoModule
, fetchFromGitHub
, stdenv
, nix-update-script
}:
@ -19,7 +20,7 @@ buildGoModule rec {
ldflags = [ "-s" "-w" ];
hardeningEnable = [ "pie" ];
hardeningEnable = lib.optionals (!stdenv.isDarwin) [ "pie" ];
passthru.updateScript = nix-update-script { };