pkgs/games: stdenv.lib -> lib
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
/* The reusable code, and package attributes, between OpenRA engine packages (engine.nix)
|
||||
and out-of-tree mod packages (mod.nix).
|
||||
*/
|
||||
{ stdenv, makeSetupHook, curl, unzip, dos2unix, pkgconfig, makeWrapper
|
||||
{ lib, stdenv, makeSetupHook, curl, unzip, dos2unix, pkgconfig, makeWrapper
|
||||
, lua, mono, dotnetPackages, python
|
||||
, libGL, freetype, openal, SDL2
|
||||
, zenity
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
path = makeBinPath ([ mono python ] ++ optional (zenity != null) zenity);
|
||||
|
||||
@@ -7,14 +7,14 @@
|
||||
This package could be seen as providing a set of in-tree mods,
|
||||
while the `mod.nix` pacakges provide a single out-of-tree mod.
|
||||
*/
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, packageAttrs
|
||||
, patchEngine
|
||||
, wrapLaunchGame
|
||||
, engine
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
stdenv.mkDerivation (recursiveUpdate packageAttrs rec {
|
||||
name = "${pname}-${version}";
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
The engine is relatively small and quick to build, so this is not much of a problem.
|
||||
Building a mod will result in a wrapper script that starts the mod inside the specified engine.
|
||||
*/
|
||||
{ stdenv
|
||||
{ lib, stdenv
|
||||
, packageAttrs
|
||||
, patchEngine
|
||||
, wrapLaunchGame
|
||||
@@ -14,7 +14,7 @@
|
||||
, engine
|
||||
}:
|
||||
|
||||
with stdenv.lib;
|
||||
with lib;
|
||||
|
||||
let
|
||||
engineSourceName = engine.src.name or "engine";
|
||||
|
||||
Reference in New Issue
Block a user