diff options
author | lassulus <lassulus@lassul.us> | 2022-10-12 10:42:53 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-10-12 10:42:53 +0200 |
commit | 677b238c0f3fbc3dcddd44dcb3e1f7c4f3b7f5b1 (patch) | |
tree | 6704bffb78d3d689fd26a8d6dd3000af5da64c44 /krebs/2configs | |
parent | 0d32cceb996dc3b91342ce9d0aa2df1b234522fa (diff) | |
parent | 095eadf772f8eee6817065522151d2d009a47ddb (diff) |
Merge remote-tracking branch 'kmein/master'
Diffstat (limited to 'krebs/2configs')
-rw-r--r-- | krebs/2configs/reaktor2.nix | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/krebs/2configs/reaktor2.nix b/krebs/2configs/reaktor2.nix index b62eb0497..a7dedf562 100644 --- a/krebs/2configs/reaktor2.nix +++ b/krebs/2configs/reaktor2.nix @@ -87,14 +87,15 @@ let osm-restaurants-src = pkgs.fetchFromGitHub { owner = "kmein"; repo = "scripts"; - rev = "c7a1256040c7a32ef4fd700e057bb4135a19791f"; - sha256 = "1f1cmm6wafsaii4mas1d9fishczmi6f6whkz3b1bh6jxmalwgka8"; + rev = "66b2068d548d3418c81dd093bba3f80248c68196"; + sha256 = "059sp2lz54iwklswaxv9w703sbm2vv7p0ccig10gsqshriq6v58z"; }; osm-restaurants = pkgs.callPackage "${osm-restaurants-src}/osm-restaurants" {}; in pkgs.writeDash "krebsfood" '' set -efu - c_base=260050809 - ${osm-restaurants}/bin/osm-restaurants --radius 500 --center "$c_base" \ + ecke_lat=52.51252 + ecke_lon=13.41740 + ${osm-restaurants}/bin/osm-restaurants --radius 500 --latitude "$ecke_lat" --longitude "$ecke_lon" \ | ${pkgs.jq}/bin/jq -r '"How about \(.tags.name) (https://www.openstreetmap.org/\(.type)/\(.id)), open \(.tags.opening_hours)?"' ' ''; |