1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-18 23:11:08 +01:00

Merge pull request #13790 from xokdvium/fix-ci

libstore: Fix formatting
This commit is contained in:
tomberek 2025-08-18 16:49:00 -04:00 committed by GitHub
commit f3bd18f2b4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -232,7 +232,8 @@ LocalStore::LocalStore(ref<const Config> config)
globalLock = openLockFile(globalLockPath.c_str(), true); globalLock = openLockFile(globalLockPath.c_str(), true);
} catch (SysError & e) { } catch (SysError & e) {
if (e.errNo == EACCES || e.errNo == EPERM) { if (e.errNo == EACCES || e.errNo == EPERM) {
e.addTrace({}, e.addTrace(
{},
"This command may have been run as non-root in a single-user Nix installation,\n" "This command may have been run as non-root in a single-user Nix installation,\n"
"or the Nix daemon may have crashed."); "or the Nix daemon may have crashed.");
} }