[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Skip polyrec, etc. when templating from a sample
- Subject: Re: Skip polyrec, etc. when templating from a sample
- From: Chris Warburton
- Date: Mon, 29 Jan 2018 18:47:07 +0000
- In-reply-to: <fa003deeba52d9c7-0-artemis@nixos>
- References: <fa003deeba52d9c7-0-artemis@nixos>
We now strip these names out before generating template values.
This required a little upheaval, since we were operating on Nix lists of
Nix strings, but doing the removals required running some 'runCommand'
calls.
Since we don't want to trigger a massive load of building during
evaluation, I've switched everything over to taking sampled names from a
file (possibly the result of a derivation) instead.