diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-05-28 22:44:52 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-05-31 23:25:26 +0200 |
commit | 57ceb64e3464c347f42bd883e394163904f928ec (patch) | |
tree | a6174d355bef31c2cc4441b754d0159ad8f4690e /tests/guix-refresh.sh | |
parent | 9e237fe0bd813664adf54599586df75b2e5b0998 (diff) |
upstream: Honor package properties for ignored and extra inputs.
* guix/upstream.scm (update-package-inputs)[filtered-inputs]
[regular-inputs, native-inputs, propagated-inputs]: New procedures.
Use them in 'update-field' calls.
* tests/guix-refresh.sh (GUIX_TEST_UPDATER_TARGETS): Add "libreoffice"
to the dependencies of "the-test-package". Add 'updater-ignored-inputs'
property to "the-test-package".
* doc/guix.texi (Invoking guix refresh): Document it.
Diffstat (limited to 'tests/guix-refresh.sh')
-rw-r--r-- | tests/guix-refresh.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/guix-refresh.sh b/tests/guix-refresh.sh index 9d7a57a36e..51d34c4b51 100644 --- a/tests/guix-refresh.sh +++ b/tests/guix-refresh.sh @@ -35,7 +35,7 @@ GUIX_TEST_UPDATER_TARGETS=' ("libreoffice" "" (("1.0" "file:///dev/null"))) ("idutils" "" (("'$idutils_version'" "file:///dev/null"))) ("the-test-package" "" (("5.5" "file://'$PWD/$module_dir'/source" - ("grep" "sed")))))' + ("grep" "sed" "libreoffice")))))' # No newer version available. guix refresh -t test idutils # XXX: should return non-zero? @@ -93,7 +93,8 @@ cat > "$module_dir/sample.scm"<<EOF (sha256 (base32 "086vqwk2wl8zfs47sq2xpjc9k066ilmb8z6dn0q6ymwjzlm196cd")))) - (inputs (list coreutils tar)))) + (inputs (list coreutils tar)) + (properties '((updater-ignored-inputs . ("libreoffice")))))) EOF guix refresh -t test -L "$module_dir" the-test-package guix refresh -t test -L "$module_dir" the-test-package -u \ |