steamcmd: Apply nixfmt

Signed-off-by: Felix Singer <felixsinger@posteo.net>
This commit is contained in:
Felix Singer
2026-03-29 19:59:38 +02:00
parent d6392921e5
commit 754b26fbe0
+5 -2
View File
@@ -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
'';