cmp "$manifest" "$manifest.second"
+# Manifest for a profile.
+guix shell --bootstrap guile-bootstrap -r "$tmpdir/profile" -- \
+ guile --version
+test -x "$tmpdir/profile/bin/guile"
+guix shell -p "$tmpdir/profile" --export-manifest > "$manifest.second"
+guix shell --export-manifest guile-bootstrap > "$manifest"
+cat "$manifest.second"
+cmp "$manifest" "$manifest.second"
+
+rm "$tmpdir/profile"
+
# Combining manifests.
guix shell --export-manifest -m "$manifest" gash gash-utils \
> "$manifest.second"
grep "$(guix build gash -d)"
# Package transformation option.
-guix shell --export-manifest guile guix --with-latest=guile-json > "$manifest"
+guix shell --export-manifest guile guix \
+ --with-input=guile-json@3=guile-json > "$manifest"
grep 'options->transformation' "$manifest"
-grep '(with-latest . "guile-json")' "$manifest"
+grep '(with-input . "guile-json@3=guile-json")' "$manifest"
# Development manifest.
guix shell --export-manifest -D guile git > "$manifest"
guix build -m "$manifest" -d | \
grep "$(guix build git -d)"
+guix shell --export-manifest -D guile -D python-itsdangerous > "$manifest"
+guix build -m "$manifest" -d | grep "$(guix build libffi -d)"
+guix build -m "$manifest" -d | \
+ grep "$(guix build -e '(@ (gnu packages python) python)' -d)"
+
# Test various combinations to make sure generated code uses interfaces
# correctly.
for options in \