diff options
author | David Thompson <dthompson2@worcester.edu> | 2015-05-14 21:11:57 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2015-05-20 12:13:04 -0400 |
commit | 1b6764477fda1a71f0ed377546f49adf2e36e5cb (patch) | |
tree | 6b5287296f1f0b34e50680907495916c65aee446 /tests/guix-package.sh | |
parent | 8404ed5c3e3a36958dc0427531b21ae14b6398aa (diff) | |
download | gnu-guix-1b6764477fda1a71f0ed377546f49adf2e36e5cb.tar gnu-guix-1b6764477fda1a71f0ed377546f49adf2e36e5cb.tar.gz |
package: Add --manifest option.
* guix/scripts/package.scm (show-help): Add help text.
(%options): Add manifest option.
(guix-package): Add manifest option handler.
* doc/guix.texi ("Invoking guix package"): Document it.
* tests/guix-package.sh: Add test.
Diffstat (limited to 'tests/guix-package.sh')
-rw-r--r-- | tests/guix-package.sh | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/guix-package.sh b/tests/guix-package.sh index d420b8076d..26a5e9d1a2 100644 --- a/tests/guix-package.sh +++ b/tests/guix-package.sh @@ -242,3 +242,15 @@ export GUIX_BUILD_OPTIONS available2="`guix package -A | sort`" test "$available2" = "$available" guix package -I + +unset GUIX_BUILD_OPTIONS + +# Applying a manifest file +cat > "$module_dir/manifest.scm"<<EOF +(use-package-modules bootstrap) + +(packages->manifest (list %bootstrap-guile)) +EOF +guix package --bootstrap -m "$module_dir/manifest.scm" +guix package -I | grep guile +test `guix package -I | wc -l` -eq 1 |