about summary refs log tree commit diff
path: root/pkgs/games/steam/runtime-mirror.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/steam/runtime-mirror.nix')
-rw-r--r--pkgs/games/steam/runtime-mirror.nix20
1 files changed, 0 insertions, 20 deletions
diff --git a/pkgs/games/steam/runtime-mirror.nix b/pkgs/games/steam/runtime-mirror.nix
deleted file mode 100644
index 49986a346e8e..000000000000
--- a/pkgs/games/steam/runtime-mirror.nix
+++ /dev/null
@@ -1,20 +0,0 @@
-{ pkgs ? import <nixpkgs> {} }:
-
-let
-  inherit (pkgs) lib;
-  rt = import ./runtime-generated.nix { inherit (pkgs) fetchurl; };
-  convRt = x: {
-    path = lib.removePrefix "mirror://steamrt/" x.url;
-    file = x.source;
-  };
-  files = builtins.map convRt (lib.concatLists (lib.attrValues rt));
-  
-in pkgs.stdenv.mkDerivation {
-  name = "steam-runtime-mirror";
-  buildCommand = ''
-    mkdir $out
-  '' + lib.concatMapStringsSep "\n" (x: ''
-    mkdir -p $(dirname $out/${x.path})
-    ln -sf ${x.file} $out/${x.path}
-  '') files;
-}