When using `guix import json`, importing a json file with 'license: false' or 'license: null' doesn't work.

  • Done
  • quality assurance status badge
Details
2 participants
  • Ludovic Courtès
  • pkill9
Owner
unassigned
Submitted by
pkill9
Severity
normal

Debbugs page

pkill9 wrote 7 years ago
(name . bug-guix)(address . bug-guix@gnu.org)
E1emJAI-0000ca-0g@rmmprod05.runbox
When using `guix import json`, importing a json file with 'license: false' or 'license: null' doesn't work.

Note: In the package modules, you can specify 'license' as '#f' aka 'false', so ideally it should set it to that when the JSON file specifies the license as 'null' or 'false'.
Ludovic Courtès wrote 7 years ago
(address . pkill9@runbox.com)(address . 30470-done@debbugs.gnu.org)
87po55qm6p.fsf@gnu.org
<pkill9@runbox.com> skribis:

Toggle quote (4 lines)
> When using `guix import json`, importing a json file with 'license: false' or 'license: null' doesn't work.
>
> Note: In the package modules, you can specify 'license' as '#f' aka 'false', so ideally it should set it to that when the JSON file specifies the license as 'null' or 'false'.

Fixed in commit 5e2495d09e5ad78f8ebb6bfa6fb4ff09fb305ec4.

Thanks!

Ludo’.
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 30470@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 30470
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help