diff options
| author | Matthew Bauer <mjbauer95@gmail.com> | 2018-06-24 23:15:09 -0400 |
|---|---|---|
| committer | Matthew Bauer <mjbauer95@gmail.com> | 2018-06-25 17:13:02 -0400 |
| commit | 31eac6fd0088710c193efebb632f1c97ef3045a6 (patch) | |
| tree | 337cb0a047bab6d89bc1d69ad307871da08245da /pkgs/development/python-modules/httpserver | |
| parent | 5000cc555eb35292e3819f73ee497957d1311ab0 (diff) | |
impure.nix: fix handling of localSystem
If we passed a localSystem in, we don’t want the current system to
override it. Now we check for localSystem first to avoid getting
"mixed" localSystem values from commands like this:
nix-build --arg localSystem '{config="x86_64-unknown-linux-musl";}' -A hello
Which would eventually evaluate localSystem to this:
{
config = "x86_64-unknown-linux-musl";
system = "x86_64-darwin";
}
& Nix would not be able to run it correctly.
Fixes #41599
/cc @Ericson2314
Diffstat (limited to 'pkgs/development/python-modules/httpserver')
0 files changed, 0 insertions, 0 deletions
