steam: made update-runtime.py nicer

This commit is contained in:
Patrick Hilhorst 2018-10-25 10:33:37 +02:00
parent 45a419ab5a
commit 7c2b6b0afe
No known key found for this signature in database
GPG Key ID: 589BB0A8DAFEF2B2

View File

@ -1,5 +1,6 @@
#!/usr/bin/env python2
#
#! /usr/bin/env nix-shell
#! nix-shell -i python2 -p "with python2Packages; [python debian]"
# Script to build a Nix script to actually build a Steam runtime.
# Patched version of https://github.com/ValveSoftware/steam-runtime/blob/master/build-runtime.py
@ -20,7 +21,7 @@ REPO="http://repo.steampowered.com/steamrt"
DIST="scout"
COMPONENT="main"
out = open("runtime-generated.nix", "w");
out = open("runtime-generated.nix", "w")
out.write("# This file is autogenerated! Do not edit it yourself, use update-runtime.py for regeneration.\n")
out.write("{ fetchurl }:\n")
out.write("\n")