mirror of
https://github.com/NixOS/nix.git
synced 2025-11-18 16:29:36 +01:00
Merge remote-tracking branch 'upstream/master' into messages-present-tense
This commit is contained in:
commit
d6710b4c04
43 changed files with 984 additions and 170 deletions
|
|
@ -387,8 +387,8 @@ static void main_nix_build(int argc, char * * argv)
|
|||
return false;
|
||||
}
|
||||
bool add = false;
|
||||
if (v.type() == nFunction && v.payload.lambda.fun->hasFormals()) {
|
||||
for (auto & i : v.payload.lambda.fun->formals->formals) {
|
||||
if (v.type() == nFunction && v.lambda().fun->hasFormals()) {
|
||||
for (auto & i : v.lambda().fun->formals->formals) {
|
||||
if (state->symbols[i.name] == "inNixShell") {
|
||||
add = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue