summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorWolfgang Walther <walther@technowledgy.de>2025-01-26 14:38:49 +0100
committerWolfgang Walther <walther@technowledgy.de>2025-02-01 12:05:00 +0100
commit434e36ab91be1454bcd4854878d683aaf50633f5 (patch)
tree9b222b72ff28a2b0f8632cbc93c5ad523b83cb83 /pkgs/development/python-modules/rangehttpserver
parentd2faa1bbca1b1e4962ce7373c5b0879e5b12cef2 (diff)
pkgs/top-level: add assert to prevent passing elaborated systems
The commit to make package sets composable depends on the fact that localSystem and crossSystem can be passed forward to lower package sets for composition. Once we pass a fully elaborated system, this will break down - getters like "isStatic", "isMusl" etc. will not change with the package set anymore, but be stuck on the value passed in via those options. This is a limitation of lib.systems.elaborate primarily, because it can't deal with arbitrary overrides properly. freshBootstrapTools on darwin used to do this, although in this case it didn't do any harm: There shouldn't be any package sets composed during bootstrap anyway. Refactor it, to avoid throwing the assert.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions