summaryrefslogtreecommitdiff
path: root/chaski/services
diff options
context:
space:
mode:
Diffstat (limited to 'chaski/services')
-rw-r--r--chaski/services/gtfs.zipbin0 -> 61958 bytes
-rw-r--r--chaski/services/tracktrain.nix3
2 files changed, 1 insertions, 2 deletions
diff --git a/chaski/services/gtfs.zip b/chaski/services/gtfs.zip
new file mode 100644
index 0000000..e0b8fc3
--- /dev/null
+++ b/chaski/services/gtfs.zip
Binary files differ
diff --git a/chaski/services/tracktrain.nix b/chaski/services/tracktrain.nix
index f1a7d13..940ad71 100644
--- a/chaski/services/tracktrain.nix
+++ b/chaski/services/tracktrain.nix
@@ -14,7 +14,7 @@ let
tracktrain-config = ''
dbstring: "dbname=tracktrain user=tracktrain"
- gtfs: ./gtfs.zip
+ gtfs: ${pkgs.copyPathToStore ./gtfs.zip}
warp:
port: 4000
@@ -105,7 +105,6 @@ in
script = ''
cd /tmp
ln -sf ${pkgs.writeText "config.yaml" tracktrain-config} "config.yaml"
- wget "https://ilztalbahn.eu/wp-content/uploads/2020/07/gtfs.zip"
${stripLib (((import inputs.tracktrain {nixpkgs = pkgs;}))
# have to remove version constraints because some aren't in 22.05
.overrideAttrs (old: { patchPhase = ''