openraPackages_2019: don't use pkgs.lib

This commit is contained in:
mdarocha 2023-06-22 17:25:43 +02:00
parent f626023bea
commit 44f2f9efcd
2 changed files with 5 additions and 4 deletions

View File

@ -6,11 +6,9 @@
Additional engines or mods can be added with `openraPackages.buildOpenRAEngine` (function around `engine.nix`)
and `openraPackages.buildOpenRAMod` (function around `mod.nix`), respectively.
*/
pkgs:
{ pkgs, lib }:
let
lib = pkgs.lib;
/* Building an engine or out-of-tree mod is very similar,
but different enough not to be able to build them with the same package definition,
so instaed we define what is common between them in a separate file.

View File

@ -37138,7 +37138,10 @@ with pkgs;
otto-matic = callPackage ../games/otto-matic { };
openraPackages_2019 = import ../games/openra_2019 pkgs.__splicedPackages;
openraPackages_2019 = import ../games/openra_2019 {
inherit lib;
pkgs = pkgs.__splicedPackages;
};
openra_2019 = openraPackages_2019.engines.release;