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
commit ebb365b1f7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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