diff --git a/default.nix b/default.nix index c8e0375..4541e89 100644 --- a/default.nix +++ b/default.nix @@ -74,8 +74,11 @@ depot.nix.readTree.drvTargets rec { # Needs to be updated after every modification of go.mod/go.sum vendorHash = "sha256-io9NCeZmjCZPLmII3ajXIsBWbT40XiW8ncXOuUDabbo="; - buildFlagsArray = [ - "-ldflags=-s -w -X main.version=${nixery-commit-hash}" + ldflags = [ + "-s" + "-w" + "-X" + "main.version=${nixery-commit-hash}" ]; nativeBuildInputs = [ makeWrapper ];