sshesame: fix build on darwin
This commit is contained in:
parent
fc3cb14594
commit
11d61d3d38
@ -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 { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user