added cheap way to run program from nix

This commit is contained in:
didier committed 2025-01-07 11:32:46 -05:00
1 parent 84abee712d
commit def2de2d85
2 files changed
+37 -19

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ public class DataService
"tertiary_link",
"residential",
"unclassified"];
private readonly string path = "/home/didier/dev/YongeStreet/real.duckdb";
private readonly string path = System.Environment.GetEnvironmentVariable("PREPROCESSED_DUCKDB_FILE") ?? "/home/didier/dev/YongeStreet/real.duckdb";
public IList<Road> GetRoads(string city, DateOnly extractDate)
{