guix-play/guix/scripts
Josselin Poiret 0dd293b4d9
gnu: Add libc-for-target and glibc/hurd.
* gnu/packages/patches/glibc-2.37-hurd-clock_t_centiseconds.patch
* gnu/packages/patches/glibc-2.37-hurd-local-clock_gettime_MONOTONIC.patch
* gnu/packages/patches/glibc-2.37-versioned-locpath.patch: New patches.
* gnu/local.mk (dist_patch_DATA): Register them.

* gnu/packages/base.scm (glibc/hurd, libc-for-target): New variables.
(glibc/hurd-headers): Use glibc/hurd.
* gnu/packages/commencement.scm (glibc-final-with-bootstrap-bash)[outputs,
source, arguments]
(glibc-final)[source]: Use libc-for-target instead of glibc.
* gnu/packages/cross-base.scm (cross-libc/deprecated, cross-libc*): Use
libc-for-target.

This part fixes

    https://issues.guix.gnu.org/63641#25

* gnu/packages/commencement.scm (%final-inputs): Change to memoized lambda
taking "system".
* gnu/packages/commencement.scm (canonical-package): Likewise, and update
user, passing (%current-system).
(make-gcc-toolchain): Update user, passing (%current-system).
* gnu/packages/base.scm (%final-inputs): Likewise.
* guix/scripts/refresh.scm (options->update-specs): Likewise.
* guix/build-system/gnu.scm (standard-packages): Add optional "system"
parameter.
(lower): Update caller.

Co-authored-by: Ludovic Courtès <ludo@gnu.org>
Co-authored-by: Janneke Nieuwenhuizen <janneke@gnu.org>
2023-07-13 18:20:05 +02:00
..
container container: Correctly report exit status. 2023-01-30 22:24:27 +01:00
git
home ui: 'display-hint' quotes extra arguments for Texinfo. 2023-02-27 23:40:43 +01:00
import scripts: import: elpa: Return consistent error code. 2023-05-17 22:22:22 +02:00
system Merge remote-tracking branch 'savannah/master' into core-updates 2023-03-02 10:55:08 +00:00
archive.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
authenticate.scm
build.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
challenge.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
container.scm
copy.scm scripts: Commands warn when passed zero arguments. 2021-05-28 11:36:02 +02:00
deploy.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
describe.scm ui: 'display-hint' quotes extra arguments for Texinfo. 2023-02-27 23:40:43 +01:00
discover.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
download.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
edit.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
environment.scm environment: Fix unbound-variable bug with '--symlink'. 2023-06-02 16:57:17 +02:00
gc.scm guix gc: Round MiBs in user feedback. 2023-05-31 22:45:35 +02:00
git.scm
graph.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
hash.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
home.scm guix home: Add missing SRFI-34 import for 'raise'. 2023-06-16 00:14:52 +02:00
import.scm import: Gracefully handle EPIPE. 2023-06-08 22:06:00 +02:00
install.scm
lint.scm lint: Add '-e'. 2022-08-08 11:22:31 +02:00
locate.scm locate: Ignore unreadable manifests. 2023-07-11 15:47:55 +02:00
offload.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
pack.scm pack: "fakechroot" engine passes the recursive RUNPATH to ld.so. 2023-03-17 23:20:35 +01:00
package.scm Merge remote-tracking branch 'origin/master' into core-updates 2023-03-20 18:49:06 +01:00
perform-download.scm download: Use Disarchive as a last resort. 2021-04-29 11:24:48 -04:00
processes.scm
publish.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
pull.scm pull: Preserve channel ordering when using '--commit', '--url', etc. 2023-06-16 00:14:52 +02:00
refresh.scm gnu: Add libc-for-target and glibc/hurd. 2023-07-13 18:20:05 +02:00
remove.scm
repl.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
search.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
shell.scm shell: Really take system into account in the cache key. 2023-07-13 17:20:02 +02:00
show.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
size.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00
style.scm diagnostics: Factorize 'absolute-location'. 2023-05-31 23:25:25 +02:00
substitute.scm substitute: Gracefully retry after failed partial downloads. 2023-06-08 22:54:58 +02:00
system.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
time-machine.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
upgrade.scm
weather.scm Remove now unnecessary uses of (guix grafts). 2022-10-22 01:46:55 +02:00