diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-06-23 18:28:45 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-06-27 11:14:41 +0200 |
commit | 066eeae1a197b1926c7ffc42919d684686f56fdb (patch) | |
tree | 808479f4cf1a18ced524f5a087cbb55af59522b6 /release.nix | |
parent | 7c690a47381f645ec5ec0a1fd6ffc34dba1b69c2 (diff) | |
download | patches-066eeae1a197b1926c7ffc42919d684686f56fdb.tar patches-066eeae1a197b1926c7ffc42919d684686f56fdb.tar.gz |
packages: 'specification->package+output' distinguishes "no output specified".
Until now the caller couldn't tell the different between a spec like
"foo:out" and one like "foo". This change allows users to distinguish
between these two cases.
* gnu/packages.scm (specification->package+output): Disable output
membership test when OUTPUT = #f and SUB-DRV = #f.
* tests/packages.scm ("specification->package+output")
("specification->package+output invalid output")
("specification->package+output no default output")
("specification->package+output invalid output, no default"): New tests.
Diffstat (limited to 'release.nix')
0 files changed, 0 insertions, 0 deletions