diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-06-07 22:49:47 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-06-07 22:49:47 +0200 |
commit | c0a4db66976dc63decbd612aafb934f44629e321 (patch) | |
tree | ca31854b3a100c47ab50f9a9f0035ad651439038 /COPYING | |
parent | d998902214df0a177591541db60e8f9f406a239b (diff) |
import: print: Honor the outputs of inputs (!).
Fixes <http://bugs.gnu.org/35893>.
Reported by Jesse Gibbons <jgibbons2357@gmail.com>.
* guix/import/print.scm (package->code)[package-lists->code]: Preserve
OUT in the result.
* tests/print.scm (define-with-source): New macro.
(pkg): Use it.
(pkg-source): New variable.
(pkg-with-inputs, pkg-with-inputs-source): New variables.
("simple package"): Refer to 'pkg-source'.
("package with inputs"): New test.
Diffstat (limited to 'COPYING')
0 files changed, 0 insertions, 0 deletions