aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr
diff options
context:
space:
mode:
authorregnat <rg@regnat.ovh>2021-11-05 11:11:33 +0100
committerregnat <rg@regnat.ovh>2021-11-05 11:11:33 +0100
commit93eadd5803caa6d28be056c58194be974a87aeb8 (patch)
treef2873af7f93723212b5114050425945e72dd2c2c /src/libexpr
parent7d6017b7a911dd5b8a7ccb5bc1bf9282140de20c (diff)
Make the post-build-hook use the daemon Nix package
Having the `post-build-hook` use `nix` from the client package can lead to a deadlock in case there’s a db migration to do between both, as a `nix` command running inside the hook will run as root (and as such will bypass the daemon), so might trigger a db migration, which will get stuck trying to get a global lock on the DB (as the daemon that ran the hook already has a lock on it).
Diffstat (limited to 'src/libexpr')
0 files changed, 0 insertions, 0 deletions