diff options
author | Profpatsch <mail@profpatsch.de> | 2021-02-05 11:44:45 +0100 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2021-02-05 12:27:24 +0100 |
commit | d2793017cad11d290dad64f5122b2d2668e2d467 (patch) | |
tree | a694f2a70c590fab56221301bbfae69c36d21455 /pkgs/games/humblebundle/jamestown.nix | |
parent | f0b9d862a5e54fa7f9159636ce5a90ef3360231f (diff) |
treewide: stdenv.lib -> pkgs.lib
Upstream is deprecating `stdenv.lib`, so let’s do the same.
Diffstat (limited to 'pkgs/games/humblebundle/jamestown.nix')
-rw-r--r-- | pkgs/games/humblebundle/jamestown.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkgs/games/humblebundle/jamestown.nix b/pkgs/games/humblebundle/jamestown.nix index 15900bba..5148671c 100644 --- a/pkgs/games/humblebundle/jamestown.nix +++ b/pkgs/games/humblebundle/jamestown.nix @@ -1,10 +1,10 @@ -{ stdenv, fetchHumbleBundle, unzip, pkgsi686Linux, expect, makeWrapper +{ stdenv, lib, fetchHumbleBundle, unzip, pkgsi686Linux, expect, makeWrapper , SDL, openal }: let version = "1.0.2"; - usVersion = stdenv.lib.replaceChars ["."] ["_"] version; + usVersion = lib.replaceChars ["."] ["_"] version; in stdenv.mkDerivation rec { name = "jamestown-${version}"; @@ -37,7 +37,7 @@ in stdenv.mkDerivation rec { ''; installPhase = let - rpath = stdenv.lib.makeLibraryPath [ SDL openal ]; + rpath = lib.makeLibraryPath [ SDL openal ]; in '' libexec="$out/libexec/jamestown" install -vD Jamestown-amd64 "$libexec/jamestown" |