tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
bee: buildFlags -> ldflags
zowoq
4 years ago
06e13c0c
870959c7
+2
-2
1 changed file
expand all
collapse all
unified
split
pkgs
applications
networking
bee
bee.nix
+2
-2
pkgs/applications/networking/bee/bee.nix
···
44
44
subPackages = [ "cmd/bee" ];
45
45
46
46
# no symbol table, no debug info, and pass the commit for the version string
47
47
-
buildFlags = lib.optionalString ( lib.hasAttr "goVersionString" versionSpec)
48
48
-
"-ldflags -s -ldflags -w -ldflags -X=github.com/ethersphere/bee.commit=${versionSpec.goVersionString}";
47
47
+
ldflags = lib.optionals ( lib.hasAttr "goVersionString" versionSpec)
48
48
+
[ "-s" "-w" "-X=github.com/ethersphere/bee.commit=${versionSpec.goVersionString}" ];
49
49
50
50
# Mimic the bee Makefile: without disabling CGO, two (transitive and
51
51
# unused) dependencies would fail to compile.