refactor(nix): use final
in overlay
this allows to implictly pass `prismlauncher-unwrapped` it won't have an effect on our package set as directly inheriting from the scope we create filters out the extra attributes usually introduced with a scope Signed-off-by: seth <getchoo@tuta.io>
This commit is contained in:
parent
271c38bc56
commit
e85b364748
@ -5,7 +5,7 @@
|
||||
{
|
||||
packages =
|
||||
let
|
||||
ourPackages = lib.fix (final: self.overlays.default final pkgs);
|
||||
ourPackages = lib.makeScope pkgs.newScope (final: self.overlays.default final pkgs);
|
||||
in
|
||||
{
|
||||
inherit (ourPackages) prismlauncher-unwrapped prismlauncher;
|
||||
@ -25,9 +25,7 @@
|
||||
inherit version;
|
||||
};
|
||||
|
||||
prismlauncher = prev.qt6Packages.callPackage ./pkg/wrapper.nix {
|
||||
inherit (final) prismlauncher-unwrapped;
|
||||
};
|
||||
prismlauncher = final.callPackage ./pkg/wrapper.nix { };
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user