Merge pull request #182373 from impl/mate-scope

mate: expose all packages in a scope
This commit is contained in:
José Romildo Malaquias
2022-07-23 10:44:31 -03:00
committed by GitHub
+3 -5
View File
@@ -1,9 +1,7 @@
{ pkgs, newScope }:
{ pkgs, lib }:
let
callPackage = newScope self;
self = rec {
packages = self: with self; {
# Update script tailored to mate packages from git repository
mateUpdateScript = { pname, version, odd-unstable ? true, rev-prefix ? "v", url ? null }:
@@ -101,4 +99,4 @@ let
};
in self
in lib.makeScope pkgs.newScope packages