diff options
author | Giacomo Leidi <goodoldpaul@autistici.org> | 2020-05-12 23:31:31 +0200 |
---|---|---|
committer | Guix Patches Tester <> | 2020-05-12 22:34:10 +0100 |
commit | 57623d1b876f2411abe3d1bc641a77d1b1864d5a (patch) | |
tree | 787cf70b892d37e39c4ce6c46b9be34fa9809b85 /guix/build-system/node.scm | |
parent | b4d68d22aad1ed255a113a7294b278c9d3f63d34 (diff) | |
download | guix-patches-57623d1b876f2411abe3d1bc641a77d1b1864d5a.tar guix-patches-57623d1b876f2411abe3d1bc641a77d1b1864d5a.tar.gz |
guix: Enforce package.json "files" directive.
This fixes https://issues.guix.gnu.org/40710 by implementing support for the
"files" directive from https://docs.npmjs.com/files/package.json#files .
* guix/build/node-build-system.scm (install): Enforce package.json
"files" directive.
* guix/build-system/node.scm (%node-build-system-modules)
(node-build)[modules]: Add (guix glob).
Diffstat (limited to 'guix/build-system/node.scm')
-rw-r--r-- | guix/build-system/node.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/guix/build-system/node.scm b/guix/build-system/node.scm index 05c24c47d5..05bc9f2087 100644 --- a/guix/build-system/node.scm +++ b/guix/build-system/node.scm @@ -42,6 +42,7 @@ registry." `((guix build node-build-system) (guix build json) (guix build union) + (guix glob) ,@%gnu-build-system-modules)) ;; TODO: Might be not needed (define (default-node) @@ -90,7 +91,8 @@ registry." (modules '((guix build node-build-system) (guix build json) (guix build union) - (guix build utils)))) + (guix build utils) + (guix glob)))) "Build SOURCE using NODE and INPUTS." (define builder `(begin |