Commit 754b26fb authored by Felix Singer's avatar Felix Singer
Browse files

steamcmd: Apply nixfmt

parent d6392921
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -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
  '';