mirror of
https://github.com/NixOS/nix
synced 2025-06-28 22:01:15 +02:00
StorePath improvements
This commit is contained in:
parent
cce218f950
commit
6317f0f7a0
5 changed files with 130 additions and 61 deletions
|
@ -43,11 +43,11 @@ impl PathInfo {
|
|||
} else if name == "References" {
|
||||
if !value.is_empty() {
|
||||
for r in value.split(' ') {
|
||||
references.insert(StorePath::new_short(r)?);
|
||||
references.insert(StorePath::new_from_base_name(r)?);
|
||||
}
|
||||
}
|
||||
} else if name == "Deriver" {
|
||||
deriver = Some(StorePath::new_short(value)?);
|
||||
deriver = Some(StorePath::new_from_base_name(value)?);
|
||||
} else if name == "URL" {
|
||||
url = Some(value.into());
|
||||
} else if name == "Compression" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue