me
/
guix
Archived
1
0
Fork 0
This repository has been archived on 2024-08-07. You can view files and clone it, but cannot push or open issues/pull-requests.
guix/guix
Ludovic Courtès 3bd4b92f55
build-system/gnu: Turn #:phases into a gexp when cross-compiling.
Previously, we'd get this error:

  $ guix build --target=aarch64-linux-gnu r-minimal -d --no-grafts
  guix build: error: path ‘/gnu/store/[^-]+-glibc-[^-]+-static’ is not valid

This is because the sexp would be passed as an input of the surrounding
gexp in 'gnu-cross-build', and thus
"/gnu/store/[^-]+-glibc-[^-]+-static" would be interpreted as a source
file name, as in this example:

  scheme@(guix gexp)> #~(foo #$(list 'whatever "/gnu/store/[^-]+-glibc-[^-]+-static"))
  $11 = #<gexp (foo #<gexp-input (whatever "/gnu/store/[^-]+-glibc-[^-]+-static"):out>) 7f098badec30>
  scheme@(guix gexp)> (gexp-inputs $11)
  $12 = (#<gexp-input "/gnu/store/[^-]+-glibc-[^-]+-static":out>)

Fixes <https://issues.guix.gnu.org/59073>.
Reported by Christopher Baines <mail@cbaines.net>.

* guix/build-system/gnu.scm (gnu-cross-build): When PHASES is a pair,
pass it through 'sexp->gexp'.
2022-11-08 14:06:00 +01:00
..
build build-system/pyproject: Always run tests verbosely for supported backends. 2022-10-27 21:30:03 +02:00
build-system build-system/gnu: Turn #:phases into a gexp when cross-compiling. 2022-11-08 14:06:00 +01:00
import import/utils: beautify-description: Update to pass tests. 2022-10-05 23:59:48 +02:00
platforms platforms: x86: Rename Hurd hurd to i586-gnu. 2022-09-24 14:49:07 +02:00
scripts guix gc: Add '--vacuum-database'. 2022-11-06 14:02:08 +02:00
store guix gc: Add '--vacuum-database'. 2022-11-06 14:02:08 +02:00
tests tests: git: Write files as UTF-8. 2022-08-09 15:58:14 +02:00
android-repo-download.scm
avahi.scm
base16.scm
base32.scm
base64.scm
build-system.scm
bzr-download.scm gnu: bazaar: Obsolete with breezy. 2022-05-31 14:54:02 -04:00
cache.scm cache: Catch invalid 'last-expiry-cleanup'. 2022-06-04 12:04:23 +02:00
channels.scm channels: Interpret the 'commit' field of channel as a tag or commit. 2022-10-17 09:37:27 +02:00
ci.scm ci: Add 'start-time' and 'stop-time' to <build> records. 2022-10-20 23:07:37 +02:00
colors.scm
combinators.scm
config.scm.in
cpio.scm
cpu.scm guix: cpu: Add detection for aarch64 CPUs. 2022-05-17 15:19:41 +03:00
cve.scm
cvs-download.scm
d3.v3.js
deprecation.scm
derivations.scm
describe.scm
diagnostics.scm diagnostics: Fix typo about 0-indexed COL in location. 2022-05-31 14:52:14 -04:00
discovery.scm
docker.scm
download.scm download: Add a kernel.org mirror. 2022-09-26 23:29:36 +02:00
elf.scm
ftp-client.scm
gexp.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
git-authenticate.scm
git-download.scm
git.scm git: 'update-cached-checkout' returns the commit ID when given a tag. 2022-10-17 09:37:27 +02:00
glob.scm
gnu-maintenance.scm gnu-maintenance: Remove retired 'gforge.inria.fr' site. 2022-10-03 11:16:13 -04:00
gnupg.scm
grafts.scm grafts: Rewrite using gexps. 2022-10-22 01:49:57 +02:00
graph.js
graph.scm
hash.scm
hg-download.scm
http-client.scm http-client: 'http-fetch/cached' converts strings to URIs. 2022-05-22 01:07:52 +02:00
i18n.scm
inferior.scm channels: Interpret the 'commit' field of channel as a tag or commit. 2022-10-17 09:37:27 +02:00
ipfs.scm
least-authority.scm least-authority: Fix typo. 2022-06-10 23:52:34 -04:00
licenses.scm licenses: Let 'license?' expand to #t in trivial cases. 2022-10-10 11:16:06 +02:00
lint.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
man-db.scm
memoization.scm
modules.scm
monad-repl.scm monad-repl: Add "build", "lower", and "verbosity" commands. 2022-07-15 17:36:57 +02:00
monads.scm monads: Add 'mparameterize'. 2022-07-10 23:57:14 +02:00
nar.scm
narinfo.scm narinfo: Fix misleading docstring. 2022-09-24 17:59:04 +02:00
openpgp.scm
packages.scm packages: Raise an exception for invalid 'license' values. 2022-10-10 11:16:07 +02:00
pki.scm
platform.scm guix: platform: Use #false instead of #f. 2022-09-07 14:24:52 +02:00
profiles.scm profiles: info-dir-file: Remove install-info '--silent' option. 2022-10-27 23:34:45 -04:00
profiling.scm
progress.scm
quirks.scm
read-print.scm read-print: Recognize 'define-record-type' and 'define-record-type*'. 2022-10-17 10:00:50 +02:00
records.scm
remote.scm
repl.scm
scripts.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
search-paths.scm search-paths: Tweak $SSL_CERT_DIR comment. 2022-09-08 16:22:21 +02:00
self.scm self: Switch to Guile-GnuTLS. 2022-10-18 14:27:01 +02:00
serialization.scm
sets.scm
ssh.scm ssh: 'open-ssh-session' gracefully handles connection timeouts. 2022-08-10 16:53:58 +02:00
status.scm status: Relay "updating substitutes" messages. 2022-06-26 23:19:14 +02:00
store.scm grafts: Move '%graft?' and related bindings to (guix store). 2022-10-22 01:46:54 +02:00
substitutes.scm
svn-download.scm svn-download: Add missing exports. 2022-10-17 23:15:08 +02:00
swh.scm
tests.scm
transformations.scm transformations: Switch to SRFI-71. 2022-10-02 22:14:45 +02:00
ui.scm guix: ui: Add default synopsis for “doc” output. 2022-11-05 10:23:24 +01:00
upstream.scm upstream: Sort '%updaters' alphabetically. 2022-07-19 18:54:41 +02:00
utils.scm utils: Add target-mips64el?. 2022-08-05 00:14:30 +02:00
workers.scm