mirror of
https://github.com/NixOS/nix
synced 2025-06-27 16:51:15 +02:00
restoreSignals() + restoreAffinity() -> restoreProcessContext()
This commit is contained in:
parent
8a29052cb2
commit
9b9e703df4
9 changed files with 32 additions and 42 deletions
|
@ -422,8 +422,6 @@ static void main_nix_build(int argc, char * * argv)
|
|||
} else
|
||||
env[var.first] = var.second;
|
||||
|
||||
restoreAffinity();
|
||||
|
||||
/* Run a shell using the derivation's environment. For
|
||||
convenience, source $stdenv/setup to setup additional
|
||||
environment variables and shell functions. Also don't
|
||||
|
@ -473,7 +471,7 @@ static void main_nix_build(int argc, char * * argv)
|
|||
|
||||
auto argPtrs = stringsToCharPtrs(args);
|
||||
|
||||
restoreSignals();
|
||||
restoreProcessContext();
|
||||
|
||||
logger->stop();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue