steamcmd: Apply nixfmt
Signed-off-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
@@ -29,7 +29,8 @@ stdenvNoCC.mkDerivation {
|
||||
version = "20180104"; # According to steamcmd_linux.tar.gz mtime
|
||||
|
||||
src =
|
||||
srcs.${stdenvNoCC.hostPlatform.system} or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}");
|
||||
srcs.${stdenvNoCC.hostPlatform.system}
|
||||
or (throw "Unsupported system: ${stdenvNoCC.hostPlatform.system}");
|
||||
|
||||
# The source tarball does not have a single top-level directory.
|
||||
preUnpack = ''
|
||||
@@ -49,7 +50,9 @@ stdenvNoCC.mkDerivation {
|
||||
--subst-var out \
|
||||
--subst-var-by coreutils ${coreutils} \
|
||||
--subst-var-by steamRoot '${steamRoot}' \
|
||||
--subst-var-by steamRun ${if stdenvNoCC.hostPlatform.isLinux then (lib.getExe steam-run) else "exec"}
|
||||
--subst-var-by steamRun ${
|
||||
if stdenvNoCC.hostPlatform.isLinux then (lib.getExe steam-run) else "exec"
|
||||
}
|
||||
chmod 0755 $out/bin/steamcmd
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user