Remove 'pkgs.' prefix from each packge

This commit is contained in:
Graham Christensen 2019-01-01 19:07:27 -05:00
parent 30372bbd39
commit 07a5a145a1
No known key found for this signature in database
GPG key ID: ACA1C1D120C83D5C
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@ let
enrichedAttrs = builtins.map
(path: {
path = path;
name = "pkgs.${builtins.concatStringsSep "." path}";
name = builtins.concatStringsSep "." path;
})
changedattrs;

View file

@ -164,7 +164,7 @@ mod tests {
let mut expect = ImpactedMaintainers(HashMap::new());
expect.0.insert(
Maintainer::from("test"),
vec![Package::from("pkgs.foo.bar.packageA")],
vec![Package::from("foo.bar.packageA")],
);
assert_eq!(parsed.unwrap(), expect);