diff options
author | stuebinm | 2023-02-03 01:00:06 +0100 |
---|---|---|
committer | stuebinm | 2023-02-03 01:00:06 +0100 |
commit | 6181a98668a74f4ddc88cc5814ba910d40b32b5a (patch) | |
tree | 2a90760790d7f8b8d26bff49b73173f23e37a512 | |
parent | 633265d115900647a5ea9a862a41ad11ed3dccf1 (diff) |
chaski: update tracktrain & use static gtfs
Diffstat (limited to '')
-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" }, |