mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 06:18:07 -05:00
0df957eecc
Go 1.13 introduced[1] a new "trimpath" flag in charge of removing the references to the go toolchain in the produced ELFs. We used to remove these references using the "remove-go-reference" function. This function was executed after go install. By using this new trimpath flag, we don't have to remove any store path from the ELFs produced by go install. We're not using any go older than 1.13 anymore, it's safe to remove these functions. [1] https://go.dev/doc/go1.13 -trimpath remove all file system paths from the resulting executable. Instead of absolute file system paths, the recorded file names will begin either a module path@version (when using modules), or a plain import path (when using the standard library, or GOPATH). * guix/build/go-build-system.scm (build): Add -trimpath (%standard-phases): Remove remove-go-references. (remove-go-references): Remove. Change-Id: Idcae366d226da5ce095693f81fd33133fd1d70d6 Co-authored-by: Picnoir <picnoir@alternativebit.fr> Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com> |
||
---|---|---|
.. | ||
build | ||
build-system | ||
import | ||
platforms | ||
scripts | ||
store | ||
tests | ||
android-repo-download.scm | ||
avahi.scm | ||
base16.scm | ||
base32.scm | ||
base64.scm | ||
build-system.scm | ||
bzr-download.scm | ||
cache.scm | ||
channels.scm | ||
ci.scm | ||
colors.scm | ||
combinators.scm | ||
config.scm.in | ||
cpio.scm | ||
cpu.scm | ||
cve.scm | ||
cvs-download.scm | ||
d3.v3.js | ||
deprecation.scm | ||
derivations.scm | ||
describe.scm | ||
diagnostics.scm | ||
discovery.scm | ||
docker.scm | ||
download.scm | ||
elf.scm | ||
ftp-client.scm | ||
gexp.scm | ||
git-authenticate.scm | ||
git-download.scm | ||
git.scm | ||
glob.scm | ||
gnu-maintenance.scm | ||
gnupg.scm | ||
grafts.scm | ||
graph.js | ||
graph.scm | ||
hash.scm | ||
hg-download.scm | ||
http-client.scm | ||
i18n.scm | ||
inferior.scm | ||
ipfs.scm | ||
least-authority.scm | ||
licenses.scm | ||
lint.scm | ||
man-db.scm | ||
memoization.scm | ||
modules.scm | ||
monad-repl.scm | ||
monads.scm | ||
nar.scm | ||
narinfo.scm | ||
openpgp.scm | ||
packages.scm | ||
pki.scm | ||
platform.scm | ||
profiles.scm | ||
profiling.scm | ||
progress.scm | ||
quirks.scm | ||
read-print.scm | ||
records.scm | ||
remote.scm | ||
repl.scm | ||
rpm.scm | ||
scripts.scm | ||
search-paths.scm | ||
self.scm | ||
serialization.scm | ||
sets.scm | ||
ssh.scm | ||
status.scm | ||
store.scm | ||
substitutes.scm | ||
svn-download.scm | ||
swh.scm | ||
tests.scm | ||
transformations.scm | ||
ui.scm | ||
upstream.scm | ||
utils.scm | ||
workers.scm |