diff --git a/tools/nixery/default.nix b/tools/nixery/default.nix index c8e037594..4541e89e5 100644 --- a/tools/nixery/default.nix +++ b/tools/nixery/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 ];