Skip to content

Commit

Permalink
update umu-launcher:
Browse files Browse the repository at this point in the history
Add extraLibraries & extraPkgs to package attrs to allow passing
graphical libs
  • Loading branch information
LovingMelody committed Jan 21, 2025
1 parent 6a3dd63 commit f091d48
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/by-name/um/umu-launcher/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@
buildFHSEnv,
lib,
umu-launcher-unwrapped,
extraPkgs ? pkgs: [],
extraLibraries ? pkgs: [],
}:
buildFHSEnv {
pname = "umu-launcher";
inherit (umu-launcher-unwrapped) version meta;

targetPkgs = pkgs: [ pkgs.umu-launcher-unwrapped ];
targetPkgs = pkgs: [ pkgs.umu-launcher-unwrapped ] ++ extraPkgs pkgs;
multiPkgs = pkgs: extraLibraries pkgs;

executableName = umu-launcher-unwrapped.meta.mainProgram;
runScript = lib.getExe umu-launcher-unwrapped;
Expand Down

0 comments on commit f091d48

Please sign in to comment.