summary refs log tree commit diff
path: root/Documentation
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-02-22 17:46:58 +0000
committerAlyssa Ross <hi@alyssa.is>2023-02-22 17:46:58 +0000
commit136428bf5b46f69ee85d579531b92299f964ba52 (patch)
tree56f38cba0fb65416ef7aaeb2a260469d0f546c60 /Documentation
parent9b3db875f97723ff46bf895a65469cfd1cded4c8 (diff)
downloadspectrum-136428bf5b46f69ee85d579531b92299f964ba52.tar
spectrum-136428bf5b46f69ee85d579531b92299f964ba52.tar.gz
spectrum-136428bf5b46f69ee85d579531b92299f964ba52.tar.bz2
spectrum-136428bf5b46f69ee85d579531b92299f964ba52.tar.lz
spectrum-136428bf5b46f69ee85d579531b92299f964ba52.tar.xz
spectrum-136428bf5b46f69ee85d579531b92299f964ba52.tar.zst
spectrum-136428bf5b46f69ee85d579531b92299f964ba52.zip
nix: inline source finding in eval-config.nix
Originally, I was thinking every file that needed to operate on the
Spectrum sources would need to import src.nix, but I ended up making
it a global instead.  I think that's nicer to use, but also avoids
re-evaluating the sources for every component in a full build, which I
don't think Nix would memoize due to it being wrapped in a function to
get access to lib (but I didn't test).

Since src.nix therefore shouldn't be accessed anywhere else, it's best
to inline its contents into eval-config.nix, so that it _can't_ be
accessed anywhere else.

Signed-off-by: Alyssa Ross <hi@alyssa.is>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions