Brings in changes from the Prism Launcher derivation(s) in nixpkgs, notably from https://github.com/NixOS/nixpkgs/pull/321851 and https://github.com/NixOS/nixpkgs/pull/303880 Signed-off-by: Evan Goode <mail@evangoo.de>
38 lines
746 B
Nix
38 lines
746 B
Nix
{
|
|
inputs,
|
|
self,
|
|
...
|
|
}: {
|
|
perSystem = {
|
|
lib,
|
|
pkgs,
|
|
...
|
|
}: {
|
|
packages = let
|
|
ourPackages = lib.fix (final: self.overlays.default final pkgs);
|
|
in {
|
|
inherit
|
|
(ourPackages)
|
|
fjordlauncher-unwrapped
|
|
fjordlauncher
|
|
;
|
|
default = ourPackages.fjordlauncher;
|
|
};
|
|
};
|
|
|
|
flake = {
|
|
overlays.default = final: prev: let
|
|
version = builtins.substring 0 8 self.lastModifiedDate or "dirty";
|
|
in {
|
|
fjordlauncher-unwrapped = prev.callPackage ./pkg {
|
|
inherit (inputs) libnbtplusplus;
|
|
inherit version;
|
|
};
|
|
|
|
fjordlauncher = prev.qt6Packages.callPackage ./pkg/wrapper.nix {
|
|
inherit (final) fjordlauncher-unwrapped;
|
|
};
|
|
};
|
|
};
|
|
}
|