diff options
Diffstat (limited to 'pkgs/servers/plex/raw.nix')
-rw-r--r-- | pkgs/servers/plex/raw.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/servers/plex/raw.nix b/pkgs/servers/plex/raw.nix index 89158838527ef..77ce52db91f3c 100644 --- a/pkgs/servers/plex/raw.nix +++ b/pkgs/servers/plex/raw.nix @@ -59,12 +59,12 @@ stdenv.mkDerivation rec { passthru.updateScript = writeScript "${pname}-updater" '' #!${stdenv.shell} set -eu -o pipefail - PATH=${stdenv.lib.makeBinPath [curl jq common-updater-scripts]}:$PATH + PATH=${lib.makeBinPath [curl jq common-updater-scripts]}:$PATH plexApiJson=$(curl -sS https://plex.tv/api/downloads/5.json) latestVersion="$(echo $plexApiJson | jq .computer.Linux.version | tr -d '"\n')" - for platform in ${stdenv.lib.concatStringsSep " " meta.platforms}; do + for platform in ${lib.concatStringsSep " " meta.platforms}; do arch=$(echo $platform | cut -d '-' -f1) dlUrl="$(echo $plexApiJson | jq --arg arch "$arch" -c '.computer.Linux.releases[] | select(.distro == "debian") | select(.build | contains($arch)) .url' | tr -d '"\n')" |