pinpox / lollypops

Lollypop Operations - NixOS Deployment Tool
https://pinpox.github.io/lollypops/
GNU General Public License v3.0
118 stars 17 forks source link

Make local-evaluation overridable at runtime #34

Open GeoffreyFrogeye opened 5 months ago

GeoffreyFrogeye commented 5 months ago

Also fixes a bug that should have been caught in https://github.com/pinpox/lollypops/pull/31 .

I'm not so sure about the variable name, most have the LP_ prefix but are undocumented, the only documented one (REBUILD_ACTION) doesn't have it. I went with what makes more sense to me (also, because I might actually remove the need for REBUILD_ACTION in my next PR nevermind) but it's up for debate (well, as is everything in a PR I guess).

The code as-is hasn't been completely tested, remote evaluation without #33 is failing for me because it's trying to find my local development copy of lollypops.

GeoffreyFrogeye commented 5 months ago

(Removed debugging echo)