diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-09-17 22:26:49 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-12-10 13:37:23 +0100 |
commit | 6317f0f7a0663aed9d877031f7815fa292bd6b09 (patch) | |
tree | 45a6a2e6674a3dd5504b9e8f093271954afb1884 /nix-rust/src/store/path_info.rs | |
parent | cce218f95050e82587f376d51e5f732d1f68eab3 (diff) |
StorePath improvements
Diffstat (limited to 'nix-rust/src/store/path_info.rs')
-rw-r--r-- | nix-rust/src/store/path_info.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nix-rust/src/store/path_info.rs b/nix-rust/src/store/path_info.rs index 2759e03d4..c2903ed29 100644 --- a/nix-rust/src/store/path_info.rs +++ b/nix-rust/src/store/path_info.rs @@ -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" { |