diff options
author | Nicolas Graves via Guix-patches via <guix-patches@gnu.org> | 2025-03-24 08:29:12 +0100 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-04-13 14:19:43 +0200 |
commit | 4b47728a6b58a72a560f5426158e93ba08400d8c (patch) | |
tree | 4bafe3f7c0e2cb8a5a6e20b5e11c46b488a59ed3 /guix/import/npm-binary.scm | |
parent | 6c82267f1f191a62081d3ea5b54547bbcf115f87 (diff) |
import: npm-binary: Fix import.
This is a follow-up to 0881a674cce3af6ebe0c1c85000e2726cbe6fc54.
* guix/import/npm-binary.scm (npm-package->package-sexp): Use modify-json.
* tests/npm-binary.scm (npm-binary->guix-package test): Use modify-json.
Change-Id: I70523a890948b218c0d82d94a6edf8775521473e
Signed-off-by: Jelle Licht <jlicht@fsfe.org>
Diffstat (limited to 'guix/import/npm-binary.scm')
-rw-r--r-- | guix/import/npm-binary.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/import/npm-binary.scm b/guix/import/npm-binary.scm index 92ac7d338e..c43b84f3d5 100644 --- a/guix/import/npm-binary.scm +++ b/guix/import/npm-binary.scm @@ -228,7 +228,8 @@ ((dev-names ...) `((add-after 'patch-dependencies 'delete-dev-dependencies (lambda _ - (delete-dependencies '(,@(reverse dev-names)))))))))) + (modify-json + (delete-dependencies '(,@(reverse dev-names))))))))))) (values `(package (name ,name) |