1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-28 22:01:15 +02:00

StorePath improvements

This commit is contained in:
Eelco Dolstra 2019-09-17 22:26:49 +02:00
parent cce218f950
commit 6317f0f7a0
5 changed files with 130 additions and 61 deletions

View file

@ -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" {