1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-08-14 15:01:33 +02:00
Files
guix/tests
Ludovic Courtès 3363ff1867 ui: 'load*' accepts /dev/fd/N files pointing to a pipe.
This allows users to write Bash commands like:

  guix time-machine -C <(echo %default-channels) -- ...

or:

  guix build -m <(echo '(specifications->manifest (list "guile"))')

Previously, on GNU/Linux, they would fail with:

  error: failed to load '/dev/fd/63': No such file or directory

* guix/ui.scm (try-canonicalize-path): New procedure.
(load*): Use it.
* tests/guix-build.sh: Test 'guix build -m' with a /dev/fd/N file.
2023-08-17 17:33:53 +02:00
..
2022-05-22 01:07:52 +02:00
2022-11-11 23:17:42 +01:00
2021-09-28 22:00:47 +02:00
2022-11-11 23:17:42 +01:00
2023-06-18 23:44:29 +02:00
2021-04-12 18:42:22 +02:00
2023-06-09 14:19:14 +02:00
2021-12-23 10:54:00 +01:00
2023-07-18 16:56:06 -04:00
2022-09-29 22:59:48 +02:00
2023-02-19 21:13:23 -05:00
2023-05-18 20:01:32 +02:00