pkgs/overlays/unstable-latest: init

this reuses code that was removed in 77ef7434f2
This commit is contained in:
Wroclaw 2025-02-09 08:23:49 +01:00
parent 5d9f3332b8
commit ec91266fcd
3 changed files with 28 additions and 1 deletions

View file

@ -1,5 +1,6 @@
{
unstableSource,
attributeName ? "unstable",
}:
self: super:
@ -32,5 +33,5 @@ let
});
in
{
unstable = if useUnstable then unstablePkgsForNixpkgs self else self;
"${attributeName}" = if useUnstable then unstablePkgsForNixpkgs self else self;
}