diff options
-rw-r--r-- | chaski/services/gtfs.zip | bin | 0 -> 61958 bytes | |||
-rw-r--r-- | chaski/services/tracktrain.nix | 3 | ||||
-rw-r--r-- | flake.lock | 8 |
3 files changed, 5 insertions, 6 deletions
diff --git a/chaski/services/gtfs.zip b/chaski/services/gtfs.zip Binary files differnew file mode 100644 index 0000000..e0b8fc3 --- /dev/null +++ b/chaski/services/gtfs.zip 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 = '' @@ -398,11 +398,11 @@ "tracktrain": { "flake": false, "locked": { - "lastModified": 1674405034, - "narHash": "sha256-zKGuktcZ47kC+Jo0Mc0dvB1rMTZN1HprouZ7uRm9VoU=", + "lastModified": 1674936614, + "narHash": "sha256-BsF4CzI8ukthTsczo9VJIlz+9ILEMXlYMTvh0lIlzDI=", "ref": "main", - "rev": "53e7884ec03e870431064062519d3a94302bc480", - "revCount": 80, + "rev": "1612bb5aec55af06f66012ff2627f533e7a57c67", + "revCount": 82, "type": "git", "url": "https://stuebinm.eu/git/tracktrain" }, |