summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/rangehttpserver
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2022-07-19 22:28:09 -0700
committerAdam Joseph <adam@westernsemico.com>2022-07-19 22:32:00 -0700
commit3f11515a260bc195637d0c3817815eb28e6cf996 (patch)
tree6935e16575c07b0069a5d9f6596593b8993d981c /pkgs/development/python-modules/rangehttpserver
parent7bc6fbcd8b3d4bb8eaa15ea7dc18b6d9fbf6fdf6 (diff)
units: fix build with enableCurrenciesUpdater=false; pythonPackages=null;
Units allows to build it without a python dependency by setting { enableCurrenciesUpdater=false; pythonPackages=null; }. Unfortunately this feature is currently broken due to two problems: 1. The `pythonEnv` string is part of the builder environment, so it is not evaluated lazily. This means that `pythonPackages==null` will always cause eval to fail. 2. `pythonEnv` is used unconditionally in an antiquotation in the `prePatch` phase; if it is null this will fail. Let's fix these so we can build a pythonless "units" package. This is helpful when cross-compiling, because right now a lot of python packages (especially python-cryptography) fail to cross-compile.
Diffstat (limited to 'pkgs/development/python-modules/rangehttpserver')
0 files changed, 0 insertions, 0 deletions