Jörg Thalheim
a8217f2642
use createDirs consistently everywhere
2025-03-27 11:28:11 +01:00
Jörg Thalheim
86de15f4fc
git-utils: add trace context to writeFull
2025-03-27 11:26:30 +01:00
Jörg Thalheim
5c3682d7a1
libstore/daemon: make sure monitor is not considered "unused"
2025-03-27 11:24:30 +01:00
Jörg Thalheim
b050db951b
test/ca-fd-leak: fix clang-tidy lints
2025-03-27 11:24:28 +01:00
Jörg Thalheim
7e540059a3
git/getStringUntil: fix uninitialized stack variable
...
at least clang-tidy is not convinced that this initialized.
If this is not the case, the impact should be small and hopefully also
more robust if changed.
2025-03-27 11:24:27 +01:00
Jörg Thalheim
05082ea1c5
libstore/local-store: fix linting warning about unused variable
2025-03-27 11:24:25 +01:00
Uluc Sengil
fcf5966488
skip ifds in nix flake show instead of throwing
2025-03-27 11:16:35 +01:00
Eelco Dolstra
17d0810a7c
Cleanup
2025-03-26 23:49:35 +01:00
Eelco Dolstra
c8692b378b
Merge remote-tracking branch 'detsys/detsys-main' into logger-improvements
2025-03-26 23:21:32 +01:00
Eelco Dolstra
502f027390
nix daemon: Respect json-log-path and re-open for every connection
...
We don't want to inherit the parent's JSON logger since then messages
from different daemon processes may clobber each other.
2025-03-26 22:15:39 +01:00
Robert Hensing
6fc9651d57
nix-expr: remove EvalSettings::addPrimOp, add const
...
Not required for a struct and potentially confusing.
2025-03-26 19:22:40 +00:00
Robert Hensing
6309bbb426
Merge pull request #12760 from Prince213/docs-unsafeGetAttrPos
...
docs: document unsafeGetAttrPos
2025-03-26 13:04:13 +00:00
Robert Hensing
d48101109d
nix-flake: Move primops registration to configureEvalSettings
2025-03-26 11:15:02 +00:00
Robert Hensing
6a192ec0cd
C API: (breaking) remove nix-flake-c global init
2025-03-26 11:15:02 +00:00
Sizhe Zhao
39ce478283
docs: document unsafeGetAttrPos
2025-03-26 18:48:57 +08:00
Robert Hensing
3c4c0953e0
nix-expr: Add primops to EvalSettings
2025-03-26 09:32:43 +00:00
Robert Hensing
1cffcd91a9
libutil: Fix error message
...
I encountered this with a misconfigured libutil. I doubt that a
non-lutimes config is viable, because tests were failing.
2025-03-26 09:16:27 +00:00
mergify[bot]
6f3dd6527d
Merge pull request #12755 from NixOS/mergify/bp/2.27-maintenance/pr-12105
...
local-derivation-goal: improve "illegal reference" error (backport #12105 )
2025-03-25 16:22:19 +00:00
Cole Helbling
aa9d573db4
Merge pull request #14 from DeterminateSystems/sync-2.27.1
...
Sync with upstream 2.27.1
2025-03-25 16:06:05 +00:00
Sergei Trofimovich
cadfed692c
tests/functional/check-refs.nix: format newly added test
...
(cherry picked from commit 4d72e0f73b )
2025-03-25 15:49:31 +00:00
Sergei Trofimovich
c2cffe6249
tests/functional/check-refs.sh: guard test12 against too old nix daemon
...
Otherwise without the change the test fails on nix-2.26 as:
error: derivation contains an illegal reference specifier 'dev'
Note: the error message does not match intended change.
(cherry picked from commit 1e7c7244cf )
2025-03-25 15:49:31 +00:00
Robert Hensing
6f54b90f36
test illegal reference specifier error message
...
(cherry picked from commit f4def47c89 )
2025-03-25 15:49:31 +00:00
Robert Hensing
db1950e768
checkRefs: use concatMapStringsSep
...
(cherry picked from commit 2b4d461c14 )
2025-03-25 15:49:30 +00:00
Robert Hensing
aa7433982b
nix-util: Use small_vector in concatMapStringsSep
...
(cherry picked from commit 32898dc46a )
2025-03-25 15:49:30 +00:00
Robert Hensing
f9d1f36169
nix-util: Add concatMapStrings
...
(cherry picked from commit f3dbaa3f54 )
2025-03-25 15:49:29 +00:00
Sergei Trofimovich
79122c66b1
local-derivation-goal: improve "illegal reference" error
...
Before the change "illegal reference" was hard to interpret as it did
not mention what derivation actually hits it.
Today's `nixpkgs` example:
Before the change:
$ nix build --no-link -f. postgresql_14
...
error: derivation contains an illegal reference specifier 'man'
After the change:
$ nix build --no-link -f. postgresql_14
...
error: derivation '/nix/store/bxp6g57limvwiga61vdlyvhy7i8rp6wd-postgresql-14.15.drv' output check for 'lib' contains an illegal reference specifier 'man', expected store path or output name (one of [debug, dev, doc, lib, out])
(cherry picked from commit bbdc3197a9 )
2025-03-25 15:49:29 +00:00
mergify[bot]
9b0f455609
Merge pull request #12105 from trofi/local-derivation-goal-better-reference-bug
...
local-derivation-goal: improve "illegal reference" error
2025-03-25 14:54:27 +00:00
Sergei Trofimovich
4d72e0f73b
tests/functional/check-refs.nix: format newly added test
2025-03-25 06:12:19 +00:00
Sergei Trofimovich
1e7c7244cf
tests/functional/check-refs.sh: guard test12 against too old nix daemon
...
Otherwise without the change the test fails on nix-2.26 as:
error: derivation contains an illegal reference specifier 'dev'
Note: the error message does not match intended change.
2025-03-25 06:12:19 +00:00
Robert Hensing
f4def47c89
test illegal reference specifier error message
2025-03-25 06:12:19 +00:00
Robert Hensing
2b4d461c14
checkRefs: use concatMapStringsSep
2025-03-25 06:12:19 +00:00
Robert Hensing
32898dc46a
nix-util: Use small_vector in concatMapStringsSep
2025-03-25 06:12:19 +00:00
Robert Hensing
f3dbaa3f54
nix-util: Add concatMapStrings
2025-03-25 06:12:19 +00:00
Sergei Trofimovich
bbdc3197a9
local-derivation-goal: improve "illegal reference" error
...
Before the change "illegal reference" was hard to interpret as it did
not mention what derivation actually hits it.
Today's `nixpkgs` example:
Before the change:
$ nix build --no-link -f. postgresql_14
...
error: derivation contains an illegal reference specifier 'man'
After the change:
$ nix build --no-link -f. postgresql_14
...
error: derivation '/nix/store/bxp6g57limvwiga61vdlyvhy7i8rp6wd-postgresql-14.15.drv' output check for 'lib' contains an illegal reference specifier 'man', expected store path or output name (one of [debug, dev, doc, lib, out])
2025-03-25 06:12:19 +00:00
Eelco Dolstra
9d0c3dd6a7
Formatting
2025-03-24 22:02:49 +01:00
Eelco Dolstra
117d671923
Bump Determinate Nix version
2025-03-24 21:47:26 +01:00
Eelco Dolstra
9c26996e73
Fix release notes (1.0.0 -> 3.0.0)
2025-03-24 21:47:26 +01:00
Eelco Dolstra
dab0ff4f9e
Tagging release 2.27.1
...
-----BEGIN PGP SIGNATURE-----
iQFHBAABCAAxFiEEtUHVUwEnDgvPFcpdgXC0cm1xmN4FAmfheacTHGVkb2xzdHJh
QGdtYWlsLmNvbQAKCRCBcLRybXGY3kt2B/4tQvs6iDXA12d409ClHbVQjr1d0FLP
rv8RxZ7Z4+Jaw8r2ra/I+gpr9juI5ULyEJWqfES72hTvbYPjH1Grsrrjak1tx57E
+STs21oEPojE8LXsFH1oZamGPPIIpyQdxCvTgZs1N6cqUfCRQ3Jx97X6E6SIGJDR
VqBM4ruSXCY57yT36HqwYydTkxzZHiNP5wwABGfSb7u9pYW5x3r8W7+fQ3udTnCw
kCRhA5vnfxIQSlxu4j7dJqSCGzOIPnhYB19bXDV4aPhl4sn3pkBCdMZxPBlCWSwx
it0ngMITf+TeiMpVl2TtvMBOHtlGrbhusbyKcsqzFYULGyGOC9ngTAY3
=/JzB
-----END PGP SIGNATURE-----
Merge tag '2.27.1' into detsys-main
Tagging release 2.27.1
2025-03-24 21:28:03 +01:00
mergify[bot]
5a4e306cc5
Merge pull request #12747 from obsidiansystems/more-goal-waitForAWhile
...
Use `Goal::waitForAWhile` in a few more places
2025-03-24 17:28:20 +00:00
mergify[bot]
07321575ca
Merge pull request #12716 from Mic92/fix-script
...
tests/functional: use script flags compatible with macOS
2025-03-24 16:51:27 +00:00
mergify[bot]
7da2e5ba6a
Merge pull request #12745 from obsidiansystems/append-log-tail-error-msg-type
...
`appendLogTailErrorMsg`: Take a "smaller" arugment
2025-03-24 16:05:32 +00:00
Las
3cb38e8ab9
Use Goal::waitForAWhile in a few more places
2025-03-24 11:46:55 -04:00
Jörg Thalheim
f02c57dbfa
tests/functional: use script flags compatible with macOS
...
Co-authored-by: John Ericson <git@JohnEricson.me>
2025-03-24 16:38:20 +01:00
Eelco Dolstra
01ffee0033
Bump version
2025-03-24 16:29:59 +01:00
John Ericson
c121daf331
appendLogTailErrorMsg: Take a "smaller" arugment
...
We just need a `const Store &`, not a `Worker &`.
2025-03-24 11:24:16 -04:00
Jörg Thalheim
9cb662df74
Merge pull request #12743 from NixOS/mergify/bp/2.27-maintenance/pr-12734
...
packaging/everything.nix: make sure doc and manpage outputs are symlinks (backport #12734 )
2025-03-24 14:47:47 +01:00
Kirens
53ac3c8ba9
make sure doc and manpage outputs are symlinks
...
Part of https://github.com/NixOS/nixpkgs/pull/392549
The doc and manpage fix already happend in 0ddfbc5939
(cherry picked from commit 15dfeb9182 )
2025-03-24 13:10:27 +00:00
Robert Hensing
1988dc0c73
Merge pull request #12734 from Mic92/doc-fix
...
packaging/everything.nix: make sure doc and manpage outputs are symlinks
2025-03-24 13:08:46 +00:00
Jörg Thalheim
9178731176
Merge pull request #12740 from NixOS/mergify/bp/2.27-maintenance/pr-12736
...
`MonitorFdHup::~MonitorFdHup`: use proper close method instead of lib… (backport #12736 )
2025-03-24 13:50:33 +01:00
Jörg Thalheim
2e9a36a8fe
MonitorFdHup::~MonitorFdHup: use proper close method instead of libc close()
...
Otherwise closing it again will cause an EBADF in the AutoCloseFd class.
(cherry picked from commit 87a34a45ff )
2025-03-24 12:17:04 +00:00