Remove 'pkgs.' prefix from each packge
This commit is contained in:
parent
30372bbd39
commit
07a5a145a1
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ let
|
||||||
enrichedAttrs = builtins.map
|
enrichedAttrs = builtins.map
|
||||||
(path: {
|
(path: {
|
||||||
path = path;
|
path = path;
|
||||||
name = "pkgs.${builtins.concatStringsSep "." path}";
|
name = builtins.concatStringsSep "." path;
|
||||||
})
|
})
|
||||||
changedattrs;
|
changedattrs;
|
||||||
|
|
||||||
|
|
|
@ -164,7 +164,7 @@ mod tests {
|
||||||
let mut expect = ImpactedMaintainers(HashMap::new());
|
let mut expect = ImpactedMaintainers(HashMap::new());
|
||||||
expect.0.insert(
|
expect.0.insert(
|
||||||
Maintainer::from("test"),
|
Maintainer::from("test"),
|
||||||
vec![Package::from("pkgs.foo.bar.packageA")],
|
vec![Package::from("foo.bar.packageA")],
|
||||||
);
|
);
|
||||||
|
|
||||||
assert_eq!(parsed.unwrap(), expect);
|
assert_eq!(parsed.unwrap(), expect);
|
||||||
|
|
Loading…
Reference in a new issue