Age | Commit message (Collapse) | Author |
|
Using the file:// prefix for local packages was always allowed, and since npm
version 11 required in order to properly resolve local dependencies when
installing from tarballs.
* guix/build/node-build-system.scm (index-modules): Add "file://" prefix to
hash table values for local modules.
Change-Id: I9d95a5d6788cc918b94677b4524391617e3a73b4
|
|
* guix/build/node-build-system.scm (configure): Remove unused outputs
argument, add --no-outputs flag.
Change-Id: Icf0d5d23cf70abc9168038e79c995391fae48e6a
Signed-off-by: Jelle Licht <jlicht@fsfe.org>
|
|
* guix/build/node-build-system.scm (avoid-node-gyp-rebuild): Refresh
phase by using let* instead of multiple defines.
Change-Id: I30c53f5d7d5bc69444ddcef45cdf8eefcab7db84
Signed-off-by: Jelle Licht <jlicht@fsfe.org>
|
|
* guix/build/node-build-system.scm (set-home, delete-lockfiles, build,
repack, install): Remove trailing #t.
Change-Id: Idf5ba50242a7b9fb5d30c8fca6e6662471cf87e4
Signed-off-by: Jelle Licht <jlicht@fsfe.org>
|
|
* guix/build/node-build-system.scm (alist-update): Remove procedure.
(patch-dependencies): Rewrite using modify-json and higher-order
function resolve.
Change-Id: I6a3e30526d5523b559d48317f0e052f2b1dcf04c
Signed-off-by: Jelle Licht <jlicht@fsfe.org>
|
|
* guix/build-system/node.scm (%default-lockfiles): New variable.
(node-build): Add lockfiles argument.
* guix/build/node-build-system.scm (delete-lockfiles): Re-factor with
lockfiles argument.
Change-Id: I09927977ec7c6430191f592f7f36d4030721c520
Signed-off-by: Jelle Licht <jlicht@fsfe.org>
|
|
Also place it just after (default-node).
* guix/build-system/node.scm (default-guile-json): Place it
after (default-node) and use helper macro @*.
Change-Id: Idc21c9627f414a011915033da0cab845529ddbff
Signed-off-by: Jelle Licht <jlicht@fsfe.org>
|
|
This function seems way too complex for what it's trying to do.
* guix/build/node-build-system.scm (modify-json): Rewrite procedure
using apply and compose.
Change-Id: I6419bd32eea76031393573a1d6450571d092ec4d
Signed-off-by: Jelle Licht <jlicht@fsfe.org>
|
|
* guix/build/node-build-system.scm (delete-dependencies): Use map and
match-lambda to improve readability of the phase.
Change-Id: I6d9275c7eea1514f103988215916d478a68ea466
Signed-off-by: Jelle Licht <jlicht@fsfe.org>
|
|
Those functions are most likely not worth the complexity they carry.
They might be a little more efficient (stop at the first encounter
instead of mapping until the end), but is it worth the additional
complexity? I'm unsure.
* guix/build/node-build-system.scm (alist-pop): Remove variable.
(alist-update): Use a more standard map.
Change-Id: I47b91461849d6e6d627e98f67bc6a08f12fa7370
Signed-off-by: Jelle Licht <jlicht@fsfe.org>
|
|
This procedure has little added value and is basically equivalent to a
simple composition of assoc-ref and or.
* guix/build/node-build-system.scm (assoc-ref*): Remove procedure.
(patch-dependencies, build, avoid-node-gyp-rebuild): Replace use of
assoc-ref*.
Change-Id: I947a66fe91eaa2b4adc8dc405232a32257f9d061
Signed-off-by: Jelle Licht <jlicht@fsfe.org>
|
|
* gnu/packages/node.scm (node-lts): Update to 24.9.0.
Change-Id: I0ed967dc028e88f927cf24e08bc51d6fc6933998
|
|
* gnu/packages/node.scm (node-lts): Update to 24.8.0.
Change-Id: I1950d278b9105e72adad2401e4d1ef78c78da16f
|
|
* gnu/packages/node.scm (node-lts): Update to 24.7.0.
Change-Id: I1384b65244c16c67d2aad13931ac0af6e9ce2acf
|
|
* gnu/packages/node.scm (node-lts): Update to 24.6.0.
Change-Id: I2aca0c22cf13306d76ba274a78a4560b43be0de4
|
|
* gnu/packages/node.scm (node-lts): Update to 24.5.0.
Change-Id: I09ab8f4c9fc16c534519ff6b48c02adf2796f5a3
|
|
* gnu/packages/node.scm (node-lts): Update to 24.4.1.
Change-Id: I13e3a6ce872ba3cd24050b4df72c7c626746b4fe
|
|
* gnu/packages/node.scm (node-lts): Update to 24.4.0.
Change-Id: Id2a929edfb2deb8149cbb97e93d2427fb946121a
|
|
* gnu/packages/node.scm (node-lts): Update to 24.3.0.
Change-Id: Iff0e02f30300fe55e71e4e4e0c15578f3095ba9e
|
|
* gnu/packages/node.scm (node-lts): Update to 24.2.0.
[source]: Update snippet to delete bundled llhttp and zstd sources.
[arguments]<#:configure-flags>: Add "--shared-http-parser" and
"--shared-http-parser-libname=llhttp". Add "--shared-zstd".
<#:phases>: Delete 'replace-llhttp-sources phase.
[inputs]: Add (zstd-1.5.7 "lib").
Change-Id: I44c7accf85a2d88b34438fa506ff725739e995ce
|
|
* gnu/packages/libevent.scm (libuv-for-node-lts): Update to 1.51.0.
Change-Id: I6a49d7337ff62f54004dde24803c43490e2daac4
|
|
* gnu/packages/node.scm (llhttp-bootstrap): Update to 9.3.0.
Change-Id: Id18f84a582f12ef3ebb31f214bbb4da7e39018de
|
|
* gnu/packages/node.scm (node-llparse-bootstrap): Update to 7.3.0.
Change-Id: I1a84ea216933bf4ce12c12782d57fef5b4891f4c
|
|
* gnu/packages/node.scm (node-llparse-frontend-bootstrap): Update to 3.0.0.
Change-Id: I11957e5238999f85db00b39548a590ccd6feed47
|
|
* gnu/packages/node.scm (node-llparse-builder-bootstrap): Update to 1.5.2.
Change-Id: I886eceb7f284fe1ba4c3ccb2c3bfea5e0fd9c9dd
|
|
* gnu/packages/node.scm (node-lts): Update to 24.0.1.
[arguments]<#:phases>: Add timing-sensitive test to 'delete-problematic-tests
phase.
[native-inputs]: Add gcc-14.
Change-Id: I28fc890e40070dc50bd40b89c1bd98ffabc7be5d
|
|
* gnu/packages/libevent.scm (libuv-for-node-lts): Update to 1.50.0.
Change-Id: Ic51d832d30872d31b070ecfe1a51daff26dedeea
|
|
* gnu/packages/prolog.scm (trealla): Update to 2.83.17.
Change-Id: I206377be8f08cdbe6699c0ffff3118e42d477f0f
|
|
* gnu/packages/text-editors.scm (manuskript): Update to 0.17.0.
[build-system]: Switch to pyproject build system.
Change-Id: I11b729cb74b2d946e20c7168a23408bdf8504cc8
|
|
* gnu/packages/emacs-xyz.scm (emacs-empv): Update to 5.1.0.
Change-Id: I3066d54336dc74e2fb3b0971e42413c07f9d854d
|
|
This corresponds to "_PATH_MOUNTED" in paths.h from libc.
* gnu/build/hurd-boot.scm (set-hurd-device-translators): Change etc/mtab to var/run/mtab.
Change-Id: I688289fe4b8143ae14a8eef5ba1625c4ebd2a209
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* gnu/packages/guile-xyz.scm (guile-extensible-match)[synopsis]: Fix typo
"patter" to "pattern".
[license]: Use CC0 according to the request from package author.
Change-Id: I01d5a1a96c94b08f08b9cd8cba14422547d72baa
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* gnu/packages/monitoring.scm (fatrace): Update to 0.19.1.
[arguments]<#:phases>: Use gexps.
[arguments]<#:phases>: Do not delete check.
[arguments]<#:tests?>: Set to #f.
Change-Id: I835241873553d9f057b8abeb10e89f20660d2b31
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* gnu/packages/spreadsheet.scm (sc-im):
Fix build with using libxml2-2.11
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
While 'url-fetch*' in (guix download) special-cases these URIs, 'git-fetch'
does not. Consequently, the recent changes to (guix scripts perform-download)
that disallow these URIs cause tests that use builtin:git-download to fail.
* guix/tests/git.scm (serve-git-repository, call-with-served-git-repository):
new procedures.
(with-served-git-repository, with-served-temporary-git-repository): new
syntax.
* .dir-locals.el (scheme-mode): add indentation information for
'with-served-git-repository'.
* tests/builders.scm ("git-fetch, file URI"): use git:// URI with
'with-served-temporary-git-repository'.
* tests/derivations.scm ("'git-download' build-in builder, invalid hash",
"'git-download' built-in builder, invalid commit", "'git-download' built-in
builder, not found"): same.
("'git-download' built-in builder"): same, and use a nonce in the repo
contents so that success isn't cached.
Change-Id: Id3e1233bb74d5987faf89c4341e1d37f09c77c80
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
In the case of the rootless daemon, perform-download runs as the daemon user.
There are files - such as /etc/guix/signing-key.sec - that guix-daemon can
read but that it is essential that ordinary users cannot.
Currently url-fetch can't access raw filenames, and it doesn't include a case
for "file://" urls. 'git-fetch-with-fallback' can fetch from "file://" urls,
but it requires that the specified url is a valid git repository.
To be on the safe side, and to insulate against any changes to what url-fetch
and git support, explicitly disallow raw filenames and "file://" urls.
* guix/scripts/perform-download.scm (assert-non-local-urls): new procedure.
(perform-download, perform-git-download): use it.
Change-Id: Ibf2a91e696246eccb89c2423fcbcabb2131d3be5
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
Git's option parsing is more flexible than its command synopses would lead one
to believe: they can apparently be passed even after positional arguments.
Some of these options can be quite nasty if an attacker is able to choose
them.
Additionally, some commands offer no way of disambiguating the meaning of an
argument. For example, "git checkout" has no way of specifying that an
argument should be unconditionally treated as a commit specifier instead of,
say, an option or a filespec.
* guix/build/git.scm (git-fetch): pass "--" to every git invocation that
includes non-constant strings. Explicitly reject commits that start with
"-".
Change-Id: I3b1707ff8f8544925d1549472f0bda7954249f89
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* etc/teams.scm (nckx, mothacehe, Josselin Poiret): Remove.
Change-Id: I669dc9247ebd88a60babce1f128aa38c8f4f78ce
|
|
* Makefile.am (SCM_TESTS): Add tests/machine/hetzner.scm and
tests/machine/hetzner/http.scm conditionally.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
|
* gnu/packages/emacs-xyz.scm (emacs-popwin): Update to 1.0.2-0.213e462.
[arguments]<#:phases>: Add skip-tests.
<#:test-command>: Set.
<#:tests?>: Remove.
Change-Id: Ia2f1dd2cdb01c82b9c3e373897733a4b611c2b6c
Signed-off-by: Liliana Marie Prikler <liliana.prikler@gmail.com>
|
|
* gnu/packages/luanti.scm (luanti-voxelibre): Update to 0.90.1.
[synopsis]: Do not start with article.
[description]: Use double spaces between sentences.
Change-Id: I135a8e0eb9e1af44d5a9feeba6827579be968baa
|
|
* gnu/packages/password-utils.scm (maskprocessor): New variable.
Signed-off-by: Ekaitz Zarraga <ekaitz@elenq.tech>
|
|
* gnu/packages/python-web.scm (python-fastapi-pagination)[arguments]
<test-flags>: Skip some tests requiring network access and provide
"--asyncio-mode=auto".
Change-Id: I788b0656cba44729984a6c1f8dcbd8a276967b7a
|
|
* gnu/packages/maths.scm (python-mathics-django)[propagated-inputs]:
Add python-matplotlib, required for tests.
Change-Id: I8db918772d6507505970e6a3c1e8c66db0ad18cd
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
|
|
* gnu/packages/mail.scm (python-hyperkitty): Update to
9a008473fadb95370cd54b0782df9fb956e323c0 commit.
Change-Id: Ib292a5131729889c83fa2fa782d4e450cf533589
Modified-by: Sharlatan Hellseher <sharlatanus@gmail.com>
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
|
|
* gnu/packages/patches/django-compressor-build-with-beautifulsoup-4.14+.patch:
New patch.
* gnu/packages/django.scm (python-django-compressor)[source]: Patch
with https://github.com/django-compressor/django-compressor/pull/1296,
minus conflicting changes to requirements/tests.txt.
Change-Id: Ic22268f6870b30c3ace689a4cadb63a77f69ca9e
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
|
|
* gnu/packages/django.scm (python-django-allauth): Update to 65.7.0,
the first version that officially supports Django 5.2.
[native-inputs]: Add python-pytest-asyncio.
Change-Id: I088abf44da232ade8e7ac5ba8ac3dd9098dd2628
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
|
|
* gnu/packages/django.scm (python-easy-thumbnails): Update to 2.10.1.
[native-inputs]: Remove python-wheel; add tzdata-for-tests.
Change-Id: I71918634c6df88f91cd2a8af01cc8b146f4620ba
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
|
|
* gnu/packages/django.scm (python-django-rest-framework): Update to
3.16.1.
Change-Id: If55b201bea5a9b9a01f83ccba6de3033f836172c
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
|
|
* gnu/packages/django.scm (python-django-haystack)[native-inputs]:
Remove python-wheel; add tzdata-for-tests.
Change-Id: Ida6a94b419387aaa9e8e9c3c6f754383bad23f7d
Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
|