steam: add back steamArch support
This commit is contained in:
parent
593c28b886
commit
870954a1da
@ -1,15 +1,21 @@
|
|||||||
{ stdenv, steamArch, fetchurl, }:
|
{ stdenv, steamArch, fetchurl, }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
|
|
||||||
name = "steam-runtime";
|
name = "steam-runtime";
|
||||||
# from https://repo.steampowered.com/steamrt-images-scout/snapshots/
|
# from https://repo.steampowered.com/steamrt-images-scout/snapshots/
|
||||||
version = "0.20200417.0";
|
version = "0.20200417.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src =
|
||||||
url = "https://repo.steampowered.com/steamrt-images-scout/snapshots/${version}/com.valvesoftware.SteamRuntime.Platform-amd64,i386-scout-runtime.tar.gz";
|
if steamArch == "amd64" then fetchurl {
|
||||||
sha256 = "0kps8i5v23sycqm69xz389n8k831jd7ncsmlrkky7nib2q91rbvj";
|
url = "https://repo.steampowered.com/steamrt-images-scout/snapshots/${version}/com.valvesoftware.SteamRuntime.Platform-amd64,i386-scout-runtime.tar.gz";
|
||||||
name = "scout-runtime-${version}.tar.gz";
|
sha256 = "0kps8i5v23sycqm69xz389n8k831jd7ncsmlrkky7nib2q91rbvj";
|
||||||
};
|
name = "scout-runtime-${version}.tar.gz";
|
||||||
|
} else fetchurl {
|
||||||
|
url = "https://repo.steampowered.com/steamrt-images-scout/snapshots/${version}/com.valvesoftware.SteamRuntime.Platform-i386-scout-runtime.tar.gz";
|
||||||
|
sha256 = "03fhac1r25xf7ia2pd35wjw360v5pa9h4870yrhhygp9h7v4klzf";
|
||||||
|
name = "scout-runtime-i386-${version}.tar.gz";
|
||||||
|
};
|
||||||
|
|
||||||
buildCommand = ''
|
buildCommand = ''
|
||||||
mkdir -p $out
|
mkdir -p $out
|
||||||
|
Loading…
x
Reference in New Issue
Block a user