From 07a5a145a1217c85efa5d0ea628ed387af699971 Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Tue, 1 Jan 2019 19:07:27 -0500 Subject: [PATCH] Remove 'pkgs.' prefix from each packge --- ofborg/src/maintainers.nix | 2 +- ofborg/src/maintainers.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ofborg/src/maintainers.nix b/ofborg/src/maintainers.nix index 0e5a6af..8b7d611 100644 --- a/ofborg/src/maintainers.nix +++ b/ofborg/src/maintainers.nix @@ -18,7 +18,7 @@ let enrichedAttrs = builtins.map (path: { path = path; - name = "pkgs.${builtins.concatStringsSep "." path}"; + name = builtins.concatStringsSep "." path; }) changedattrs; diff --git a/ofborg/src/maintainers.rs b/ofborg/src/maintainers.rs index 80eaf8e..d496b2f 100644 --- a/ofborg/src/maintainers.rs +++ b/ofborg/src/maintainers.rs @@ -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);