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/build
Ludovic Courtès a14dafaa01
syscalls: Add fallback case for ‘terminal-string-width’.
This makes ‘terminal-string-width’ synonymous with ‘string-length’ when
running one a statically-linked Guile, as is the case in some unit
tests, instead of throwing ENOSYS.

* guix/build/syscalls.scm (terminal-string-width): Use ‘dynamic-func’
and ‘pointer->procedure’ instead of ‘syscall->procedure’.  Return
‘string-length’ when one of the ‘dynamic-func’ calls fails.

Change-Id: Icf55c9e7c34b46fac91b665fb4a2ecb02160f22e
2023-11-25 16:29:25 +01:00
..
maven
agda-build-system.scm build-system: New agda-build-system. 2023-06-04 10:59:34 +02:00
android-ndk-build-system.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
android-repo.scm
ant-build-system.scm guix: ant: Optionally build with java modules. 2023-11-09 19:08:42 +01:00
asdf-build-system.scm guix: Leave some of guix/build/* unchanged. 2023-03-13 15:17:24 +01:00
bournish.scm
bzr.scm
cargo-build-system.scm build: cargo-build-system: Find more pregenerated files. 2023-10-18 11:36:21 +03:00
cargo-utils.scm
chicken-build-system.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
clojure-build-system.scm build-system/clojure: Avoid usage of (guix build sycalls). 2022-11-11 18:09:58 +01:00
clojure-utils.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
cmake-build-system.scm
compile.scm
copy-build-system.scm
cvs.scm
debug-link.scm debug-link: Protect against dangling symlinks. 2023-01-17 16:05:20 +01:00
download-nar.scm download-nar: Improve output. 2023-07-28 18:08:17 +01:00
download.scm download: Do not wrap TLS port on GnuTLS >= 3.7.7. 2022-08-03 17:43:29 +02:00
dub-build-system.scm build-system/dub: Avoid usage of (guix build syscalls). 2022-11-11 18:09:58 +01:00
dune-build-system.scm guix: dune-build-system: Do not use `test-target' argument. 2023-01-15 15:57:49 +01:00
elm-build-system.scm guix: Leave some of guix/build/* unchanged. 2023-03-13 15:17:24 +01:00
emacs-build-system.scm build-system: emacs: Use native compilation. 2022-09-11 15:46:32 +02:00
emacs-utils.scm build: emacs-utils: Adjust ‘emacs-compile-directory’ for Emacs 29. 2023-09-07 20:25:06 +02:00
font-build-system.scm
git.scm git-download: Add support for Git Large File Storage (LFS). 2023-11-07 12:33:26 -05:00
glib-or-gtk-build-system.scm build/glib-or-gtk: Avoid duplicate entries in gdk-pixbuf loaders cache. 2023-04-14 15:35:36 -04:00
gnu-bootstrap.scm
gnu-build-system.scm build: gnu-build-system: Remove source from native inputs. 2022-12-07 09:47:08 -05:00
gnu-dist.scm build-system/gnu: Remove 'install-license-files' from '%dist-phases'. 2023-03-10 14:49:56 +01:00
go-build-system.scm
graft.scm guix: build: Avoid using magic literals in the code for hash length. 2022-09-02 17:04:46 +02:00
gremlin.scm
guile-build-system.scm build-system/guile: Add target-guile-scm+go procedure. 2023-11-15 18:29:37 +01:00
haskell-build-system.scm build: haskell-build-system: Build static executables by default. 2023-02-26 10:26:16 +01:00
hg.scm
java-utils.scm build-system/ant: Avoid usage of (guix build syscalls). 2022-11-11 18:09:58 +01:00
json.scm
julia-build-system.scm
kconfig.scm kconfig: Streamline comment in 'modify-defconfig'. 2022-12-20 21:19:33 -05:00
linux-module-build-system.scm guix: Strip #:use-module lists. 2023-03-13 15:08:33 +01:00
lisp-utils.scm guix: Leave some of guix/build/* unchanged. 2023-03-13 15:17:24 +01:00
make-bootstrap.scm guix: Leave some of guix/build/* unchanged. 2023-03-13 15:17:24 +01:00
maven-build-system.scm
meson-build-system.scm build: meson: Explicitly invoke "meson setup" instead of just "meson". 2023-04-09 12:55:46 -04:00
meson-configuration.scm guix: meson-configuration: Fix boolean assigment. 2023-10-04 14:58:42 +02:00
minetest-build-system.scm build: minetest-build-system: Match name more strictly. 2023-11-11 06:48:59 +01:00
minify-build-system.scm build-system/minify: Use esbuild. 2023-10-06 16:37:16 +02:00
node-build-system.scm guix: node-build-system: Delete from peerDependencies too. 2023-06-22 12:54:19 +02:00
ocaml-build-system.scm
pack.scm pack: Move common build code to (guix build pack). 2023-07-18 16:56:06 -04:00
perl-build-system.scm
po.scm po: Do not auto-translate cross-references to other manuals. 2023-04-12 08:29:18 -04:00
profiles.scm profiles: Implicitly set GUIX_EXTENSIONS_PATH. 2022-09-07 11:30:31 +03:00
pyproject-build-system.scm build-system/pyproject: Always run tests verbosely for supported backends. 2022-10-27 21:30:03 +02:00
python-build-system.scm python-build-system: Fix typo in module-level comment paragraph. 2022-06-22 13:53:55 -04:00
qt-build-system.scm
qt-utils.scm build: qt-utils: Wrap QML2_IMPORT_PATH with 'prefix' location. 2023-08-02 22:27:43 +08:00
r-build-system.scm
rakudo-build-system.scm
rebar-build-system.scm build-system: Add 'rebar-build-system'. 2022-06-15 10:17:25 +02:00
renpy-build-system.scm guix: Modernize renpy-build-system. 2022-06-17 18:49:06 +02:00
ruby-build-system.scm
scons-build-system.scm
store-copy.scm
svn.scm svn-download: Do not expand keywords. 2023-06-11 18:13:44 +02:00
syscalls.scm syscalls: Add fallback case for ‘terminal-string-width’. 2023-11-25 16:29:25 +01:00
texlive-build-system.scm guix: texlive-build-system: Add #:link-scripts argument. 2023-07-18 18:15:05 +02:00
tree-sitter-build-system.scm build-system: Add tree-sitter-build-system. 2023-02-12 11:32:20 +04:00
union.scm guix: build: Factor out default collision-resolver. 2022-09-02 17:04:46 +02:00
utils.scm guix: build: Avoid using magic literals in the code for hash length. 2022-09-02 17:04:46 +02:00
vim-build-system.scm build-system: Add vim-build-system. 2023-11-08 12:03:05 +02:00
waf-build-system.scm guix: Leave some of guix/build/* unchanged. 2023-03-13 15:17:24 +01:00
zig-build-system.scm build-system: Add zig-build-system. 2023-10-21 00:27:25 +02:00