mirror of
https://github.com/PrismLauncher/PrismLauncher.git
synced 2026-06-29 01:54:20 +03:00
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
1 changed files with 2 additions and 4 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue