guix-play/guix
Brendan Tildesley 7f8a896c5f
utils: Fix wrap-script argument handling.
* guix/build/utils.scm (wrap-script):
Don't add (car cl) one too many times, cl its self contains it's car.
Split the aguments string with string-tokenize to avoid leaving an empty
string argument when there should be none. These two bugs seemed to
be partially cancelling each other out so that scripts still worked when
ran with no arguments.

* tests/build-utils.scm: Adjust wrap-script to above changes.
Add two tests to ensure the command line arguments appear identical to a
script and its wrapped version.

Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
2022-01-10 11:44:29 -05:00
..
build utils: Fix wrap-script argument handling. 2022-01-10 11:44:29 -05:00
build-system guix: node-build-system: Add implicit libuv input. 2022-01-09 02:07:11 +01:00
import import: texlive: Remove more specific entries with the same prefix. 2022-01-10 12:46:47 +01:00
scripts style: '-S format' canonicalizes comments. 2022-01-10 14:59:26 +01:00
store Merge branch 'master' into core-updates-frozen 2021-11-17 23:43:14 +01:00
tests tests: git: Avoid ambiguous module import. 2021-12-23 18:49:05 -05:00
android-repo-download.scm android-repo-download: Add guile-json extension. 2021-05-02 18:45:27 +02:00
avahi.scm avahi: Remove poll timeout when possible. 2020-12-20 10:40:57 +01:00
base16.scm base16: Reduce GC pressure in bytevector->base16-string. 2021-09-10 17:30:54 +02:00
base32.scm base32: Work around (ash x N) miscompilation at '-O1' and below. 2021-09-21 15:15:52 +02:00
base64.scm
build-system.scm packages: Add 'package-with-c-toolchain'. 2020-10-12 18:23:47 +02:00
bzr-download.scm
cache.scm cache: Gracefully handle non-existent cache. 2021-10-25 19:02:33 +02:00
channels.scm channels: Add 'branch' to 'channel->code' output. 2021-12-25 19:12:37 +01:00
ci.scm ci: Restrict substitute search to guix jobset. 2021-12-19 16:25:51 +01:00
colors.scm
combinators.scm combinators: Add 'define-compile-time-procedure'. 2021-12-20 16:21:40 +01:00
config.scm.in build: Add '--with-channel-commit' and related configure flags. 2021-02-04 09:23:39 +01:00
cpio.scm syscalls: Deduplicate device number conversion. 2021-09-23 18:17:16 +02:00
cpu.scm Add (guix cpu). 2022-01-01 15:23:24 +01:00
cve.scm cve: Gracefully handle bogus CVE entries. 2021-04-25 14:35:42 +02:00
cvs-download.scm cvs-download: Fix module exports 2021-05-05 16:56:43 +02:00
d3.v3.js graph: Install JavaScript files. 2021-01-04 23:54:16 +01:00
deprecation.scm deprecation: Add 'define-deprecated/public'. 2021-09-06 22:02:11 +02:00
derivations.scm derivations: Officially deprecate 'build-expression->derivation'. 2021-11-18 22:47:55 +01:00
describe.scm describe: 'current-channel-entries' ignores non-channel profile entries. 2021-06-13 23:57:44 +02:00
diagnostics.scm diagnostics: Add syntax to capture arguments' syntax-properties. 2021-11-17 23:05:58 +01:00
discovery.scm discovery: Hide Guile warnings when loading modules. 2021-09-30 23:44:49 +02:00
docker.scm docker: Enable arm64 docker image building for 'guix pack'. 2021-11-23 10:24:27 +01:00
download.scm download: "GUIX_DOWNLOAD_FALLBACK_TEST=none" disables fallback mechanisms. 2021-10-15 23:16:28 +02:00
elf.scm
extracting-download.scm Add (guix extracting-download). 2021-10-07 22:24:23 +02:00
ftp-client.scm ftp-client: Before 'PASV', try 'EPSV' first for IPv6. 2021-02-15 08:38:00 +08:00
gexp.scm gexp: 'file-append' correctly handles bases without an expander. 2021-11-27 23:06:17 +01:00
git-authenticate.scm channels: Consider the current channel commit as authentic. 2021-02-04 09:23:39 +01:00
git-download.scm git-download: Support submodules in 'git-predicate'. 2021-05-28 11:36:02 +02:00
git.scm upstream: Support updating and fetching 'git-fetch' origins. 2022-01-06 16:27:30 +01:00
glob.scm guix: Add globstar support. 2020-12-09 22:25:17 +01:00
gnu-maintenance.scm gnu-maintenance: 'generic-html' computes the right source URL. 2021-06-03 13:04:20 +02:00
gnupg.scm gnupg: Honor GnuPG's configuration for the key server. 2021-11-18 14:41:53 -05:00
grafts.scm Merge branch 'master' into core-updates 2021-06-19 17:38:47 +02:00
graph.js graph: Install JavaScript files. 2021-01-04 23:54:16 +01:00
graph.scm graph: Add '--max-depth'. 2021-09-21 15:15:52 +02:00
hash.scm guix hash: Extract file hashing procedures. 2022-01-06 16:27:30 +01:00
hg-download.scm hg-download: Make (guix swh) output visible. 2021-06-14 18:35:18 +02:00
http-client.scm http-client: Remove exception mishandling in 'http-multiple-get'. 2021-04-25 14:36:45 +02:00
i18n.scm
inferior.scm inferior: 'cached-channel-instance' does not cache unauthenticated instances. 2021-12-01 17:51:33 +01:00
ipfs.scm Add (guix ipfs). 2021-04-12 18:42:22 +02:00
licenses.scm import: utils: Add more licenses and extend their detection. 2021-11-12 23:34:18 +01:00
lint.scm lint: Adjust patch file length check. 2021-12-17 21:04:25 -08:00
man-db.scm
memoization.scm
modules.scm modules: Recognize #:re-export-and-replace. 2021-01-19 17:45:38 +01:00
monad-repl.scm
monads.scm maint: Require Guile >= 2.2.6. 2020-12-19 23:25:01 +01:00
nar.scm database: Remove #:deduplicate? from 'register-items'. 2020-12-15 17:32:11 +01:00
narinfo.scm narinfo: Do not repeat slash when building nar URLs. 2021-12-12 00:27:53 +01:00
openpgp.scm openpgp: Remove now unnecessary procedure. 2021-03-02 23:12:37 +01:00
packages.scm packages: Avoid #:re-export-and-replace to allow upgrades from 1.2.0. 2021-12-22 23:23:16 +01:00
pki.scm
profiles.scm profiles: Also handle package objects in GDK-PIXBUF-LOADERS-CACHE-FILE. 2021-11-25 20:44:16 -05:00
profiling.scm
progress.scm progress: Rate limit drawing in the progress-reporter/bar. 2021-12-12 14:12:15 +00:00
quirks.scm
records.scm records: Support field sanitizers. 2021-08-12 12:34:13 +02:00
remote.scm store: 'map/accumulate-builds' handler checks the store received. 2021-10-28 21:30:27 +02:00
repl.scm repl: Fix exception handling for interpreted code. 2021-01-21 00:14:38 +01:00
scripts.scm guix: scripts: Fix corner cases of hint for option typo. 2021-02-24 23:50:13 +01:00
search-paths.scm
self.scm self: Add guile-lzma as a dependency. 2021-12-23 08:59:44 -05:00
serialization.scm serialization: Micro-optimize string literal output in 'write-file-tree'. 2021-03-01 17:45:51 +01:00
sets.scm
ssh.scm ssh: Fix type that broke offloading. 2021-05-11 12:49:53 +02:00
status.scm profiles: Add a gdk-pixbuf-loaders-cache-file hook. 2021-11-11 12:18:19 -05:00
store.scm store: 'mapm/accumulate-builds' does not compare stores with 'eq?'. 2021-11-10 00:39:10 +01:00
substitutes.scm substitutes: Build correct narinfo URLs for cache URLs without trailing slash. 2021-12-12 00:27:53 +01:00
svn-download.scm Merge branch 'master' into core-updates-frozen 2021-11-23 11:29:38 +01:00
swh.scm swh: Allows token from Software Heritage authentication service. 2021-10-15 23:16:28 +02:00
tests.scm Merge branch 'master' into core-updates-frozen 2021-11-17 23:43:14 +01:00
transformations.scm transformations: Add '--tune'. 2022-01-01 15:23:24 +01:00
ui.scm ui: It's 2022! 2022-01-01 02:02:44 -05:00
upstream.scm upstream: Support updating and fetching 'git-fetch' origins. 2022-01-06 16:27:30 +01:00
utils.scm utils: Fix URL in comment. 2021-12-30 13:41:27 +01:00
workers.scm