···44 subPackages = [ "cmd/bee" ];
4546 # no symbol table, no debug info, and pass the commit for the version string
47- buildFlags = lib.optionalString ( lib.hasAttr "goVersionString" versionSpec)
48- "-ldflags -s -ldflags -w -ldflags -X=github.com/ethersphere/bee.commit=${versionSpec.goVersionString}";
4950 # Mimic the bee Makefile: without disabling CGO, two (transitive and
51 # unused) dependencies would fail to compile.
···44 subPackages = [ "cmd/bee" ];
4546 # no symbol table, no debug info, and pass the commit for the version string
47+ ldflags = lib.optionals ( lib.hasAttr "goVersionString" versionSpec)
48+ [ "-s" "-w" "-X=github.com/ethersphere/bee.commit=${versionSpec.goVersionString}" ];
4950 # Mimic the bee Makefile: without disabling CGO, two (transitive and
51 # unused) dependencies would fail to compile.