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/steam/fetchsteam | |
parent | f0b9d862a5e54fa7f9159636ce5a90ef3360231f (diff) |
treewide: stdenv.lib -> pkgs.lib
Upstream is deprecating `stdenv.lib`, so let’s do the same.
Diffstat (limited to 'pkgs/games/steam/fetchsteam')
-rw-r--r-- | pkgs/games/steam/fetchsteam/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/games/steam/fetchsteam/default.nix b/pkgs/games/steam/fetchsteam/default.nix index 646e0a14..0dc609de 100644 --- a/pkgs/games/steam/fetchsteam/default.nix +++ b/pkgs/games/steam/fetchsteam/default.nix @@ -1,4 +1,4 @@ -{ stdenv, runCommand, writeText, fetchFromGitHub, buildDotnetPackage +{ stdenv, lib, runCommand, writeText, fetchFromGitHub, buildDotnetPackage , username, password }: @@ -65,18 +65,18 @@ let # without that nasty wrapper. makeWrapperArgs = let mkMono = name: path: "${path}/lib/dotnet/${name}"; - paths = stdenv.lib.mapAttrsToList mkMono { + paths = lib.mapAttrsToList mkMono { inherit SteamKit2 protobuf-net; }; - monoPath = stdenv.lib.concatStringsSep ":" paths; + monoPath = lib.concatStringsSep ":" paths; in [ "--prefix MONO_PATH : \"${monoPath}\"" ]; }; fileListFile = let - content = stdenv.lib.concatStringsSep "\n" fileList; + content = lib.concatStringsSep "\n" fileList; in writeText "steam-file-list-${name}.txt" content; -in with stdenv.lib; runCommand "${name}-src" { +in with lib; runCommand "${name}-src" { buildInputs = [ DepotDownloader ]; inherit username password appId depotId manifestId; preferLocalBuild = true; |