diff --git a/pkgs/by-name/ss/sshesame/package.nix b/pkgs/by-name/ss/sshesame/package.nix index ae517ff3f31c..aef563ba3df4 100644 --- a/pkgs/by-name/ss/sshesame/package.nix +++ b/pkgs/by-name/ss/sshesame/package.nix @@ -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 { };