Make it possible to pass tarball-ttl to nix
There are more options one might want to pass. In particular --option tarball-ttl 1000000 is super important when working on a train or plane.
(“super important” = “presently on my mind”. You know what I mean.)
Originally posted by @nomeata in https://github.com/target/lorri/pull/373#issuecomment-640241926
@nomeata do you want to try your hand at this? Based on the changes in https://github.com/target/lorri/pull/373, it should be fairly simple to add another option to pass through.
Not now, sorry. Too much other stuff going on.
(I am surprised why I can’t just pass arbitrary options – nix’s --options flag is already quite generic, why even bother duplicating logic that’s already there?)
(I am surprised why I can’t just pass arbitrary options –
nix’s--optionsflag is already quite generic, why even bother duplicating logic that’s already there?)
we are already passing some options, so you have to merge it somehow. What we could do is accept all options and just add merging logic to the ones that we pass, but I wanted to start exploring this in a restricted manner before going full “yolo just pass it somehow and let nix throw errors if its unhappy”, which is really bad UX.