Robert Hensing
11a6db5993
Remove unused operator<=>'s that darwin can't generate
...
It was complaining *a lot*, with dozens of MB of logs.
2024-07-12 17:37:27 +02:00
Andrew Marshall
51a12b38bd
Fix stackoverflow during doc generation
...
On some systems, previous usage of `match` may cause a stackoverflow
(presumably due to the large size of the match result). Avoid this by
(ab)using `replaceStrings` to test for containment without using
regexes, thereby avoiding the issue. The causal configuration seems to
be the stack size hard limit, which e.g. Amazon Linux sets, whereas most
Linux distros leave unlimited.
Match the fn name to similar fn in nixpkgs.lib, but different
implementation that does not use `match`. This impl gives perhaps
unexpected results when the needle is `""`, but the scope of this is
narrow and that case is a bit odd anyway.
This makes for some duplication-of-work as we do a different
`replaceStrings` if this one is true, but this only runs during doc
generation at build time so has no runtime impact.
See https://github.com/NixOS/nix/issues/11085 for details.
2024-07-12 10:59:40 -04:00
John Ericson
337a5a23b7
Merge pull request #11089 from NixOS/warnings-includes
...
Fix warnings and optimize includes
2024-07-12 10:29:26 -04:00
John Ericson
dfb169ca68
Merge pull request #11007 from obsidiansystems/push-down-fetcher-flake-settings
...
No global settings in `libnixfetchers` and `libnixflake`
2024-07-12 09:41:10 -04:00
Robert Hensing
27eaeebc41
nar-accessor.cc: Silence unused variable warning
2024-07-12 15:38:17 +02:00
Robert Hensing
8df041cbc6
Solve unused header warnings reported by clangd
2024-07-12 15:37:54 +02:00
John Ericson
3fc77f281e
No global settings in libnixfetchers
and libnixflake
...
Progress on #5638
There are still a global fetcher and eval settings, but they are pushed
down into `libnixcmd`, which is a lot less bad a place for this sort of
thing.
Continuing process pioneered in
52bfccf8d8
.
2024-07-12 08:50:28 -04:00
Robert Hensing
f070d68c32
Add BaseError assignment operators
...
The move assignment was implicitly generated and used in
src/libstore/build/goal.cc:90:22:
90 | this->ex = std::move(*ex);
Clang warns about this generated method being deprecated, so making
them explicit fixes the warning.
2024-07-12 14:25:16 +02:00
Eelco Dolstra
17242a5f19
Merge pull request #33 from DeterminateSystems/config-tables
...
Use Markdown tables for attributes
2024-07-12 13:52:42 +02:00
Eelco Dolstra
b57c361097
Merge pull request #11082 from DeterminateSystems/symbol-table-string-view
...
SymbolStr: Remove std::string conversion
2024-07-12 13:39:43 +02:00
Luc Perkins
b80c3191d9
Use Markdown tables for config
2024-07-11 09:49:06 -07:00
Eelco Dolstra
61080554ab
SymbolStr: Remove std::string conversion
...
This refactoring allows the symbol table to be stored as something
other than std::strings.
2024-07-11 17:43:10 +02:00
Eelco Dolstra
0363dbf2b9
Merge pull request #11081 from DeterminateSystems/remove-dead-code
...
Remove unused InstallableFlake::getFlakeOutputs()
2024-07-11 17:11:28 +02:00
Eelco Dolstra
6406619c44
Flake schemas
...
This applies upstream https://github.com/NixOS/nix/pull/8892 .
2024-07-11 16:49:49 +02:00
Eelco Dolstra
87323a5689
Remove unused InstallableFlake::getFlakeOutputs()
2024-07-11 16:21:27 +02:00
Robert Hensing
0395ff9bd3
packaging: Set darwinMinVersion to fix x86_64-darwin build
...
Ported from https://github.com/NixOS/nixpkgs/pull/326172
Co-authored-by: Emily <vcs@emily.moe>
2024-07-11 15:04:38 +02:00
Robert Hensing
bb312a7174
Edit CompatibilitySettings
2024-07-11 13:59:49 +02:00
Robert Hensing
6f5f741157
doc/rl-next/shebang-relative: Update with example
2024-07-11 13:52:03 +02:00
Eelco Dolstra
f862424423
Fix job name
2024-07-11 13:39:24 +02:00
Eelco Dolstra
a4d1dfbab6
Split building and testing to improve parallelism
2024-07-11 13:26:08 +02:00
Eelco Dolstra
13e60dd649
Build aarch64-linux
2024-07-11 13:24:09 +02:00
John Ericson
426e2af6f7
Merge pull request #11077 from hercules-ci/support-hardlinks-in-tarballs
...
Support hardlinks in tarballs
2024-07-11 07:10:25 -04:00
Robert Hensing
56bf39e905
eqValues/assertEqValues: Clean up assertions
...
It's still paranoid, and probably a waste of words, but at least
now it's consistent and readily identifyable from a log.
2024-07-11 12:19:29 +02:00
Robert Hensing
4fd8f19ecf
Fix build to use CanonPath in new FSO sinks
2024-07-11 12:14:48 +02:00
Robert Hensing
86420753ec
Merge remote-tracking branch 'upstream/master' into support-hardlinks-in-tarballs
2024-07-11 11:43:02 +02:00
Robert Hensing
61577402ba
Add EvalErrorBuilder::panic()
...
An nicer alternative to printError + abort, or assert(false /* foo */)
2024-07-11 11:35:58 +02:00
Eelco Dolstra
83173fef17
Avoid superfluous duplicate jobs on PRs
2024-07-11 11:19:08 +02:00
Eelco Dolstra
6ad333aeee
GitHub CI: Use a bigger builder for x86_64-linux
...
Also, don't use a matrix for the 'tests' workflow, since we don't want
the 'vm_tests' and 'flake_regressions' workflows to depend on
aarch64-darwin.
2024-07-11 11:13:55 +02:00
Eelco Dolstra
a00efcb36c
Fix daemon test
2024-07-11 09:52:40 +02:00
Eelco Dolstra
1b52a3add1
Remove references to nix-command
2024-07-10 20:35:44 +02:00
Eelco Dolstra
e0ce161734
Remove experimental warnings
2024-07-10 20:35:44 +02:00
Eelco Dolstra
891a5b387e
Remove warning about nix-command
2024-07-10 20:35:44 +02:00
Eelco Dolstra
98a6af2c97
doc/manual/src/contributing/hacking.md: Remove non-flake instructions
2024-07-10 20:35:44 +02:00
Eelco Dolstra
e638d00223
Stabilize the "nix-command" feature
2024-07-10 20:35:44 +02:00
Eelco Dolstra
51583851a2
Merge pull request #29 from DeterminateSystems/stable-flakes
...
Make the flakes experimental feature stable
2024-07-10 20:35:15 +02:00
Eelco Dolstra
50d7ce6c6a
Actually remove the "flakes" experimental feature
...
To avoid annoying warnings, this is now a "stabilized" feature.
2024-07-10 18:47:28 +02:00
Eelco Dolstra
16c8f9016b
Remove unneeded --experimental-features
2024-07-10 18:47:28 +02:00
Graham Christensen
590920eed2
Make the flakes experimental feature stable
2024-07-10 16:36:57 +02:00
Robert Hensing
c4e3e2dc27
Soft-deprecate the compatibility settings
2024-07-10 16:24:31 +02:00
Robert Hensing
d942d505ca
Merge remote-tracking branch 'upstream/master' into more-nix-shell
2024-07-10 16:19:18 +02:00
Robert Hensing
13522229a9
assertEqValues: clarify potential bug error message
2024-07-10 16:08:10 +02:00
Eelco Dolstra
7747a501db
Merge pull request #27 from DeterminateSystems/gha-release
...
Create Determinate Nix
2024-07-10 13:11:34 +02:00
Eelco Dolstra
142e566adb
Merge pull request #11071 from DeterminateSystems/remove-stray-line
...
Remove reference to check-hydra-status
2024-07-09 17:33:39 +02:00
Eelco Dolstra
3a6fd22b4a
Fix another version check
2024-07-09 16:53:02 +02:00
Eelco Dolstra
245dbb7a61
Revert "Add plumbing for the DetSys installer flake"
...
This reverts commit 0f9ea197055eabe5fac3ef93e49ba5552668fa08.
2024-07-09 16:53:02 +02:00
Eelco Dolstra
361a5783ef
Fix version check
2024-07-09 16:53:02 +02:00
Eelco Dolstra
b68d7396ca
Publish to FlakeHub
2024-07-09 16:53:02 +02:00
Eelco Dolstra
261a2e58fe
Add plumbing for the DetSys installer flake
2024-07-09 16:53:02 +02:00
Eelco Dolstra
def2c29e97
Distinguish Determinate Nix in --version output
2024-07-09 16:53:02 +02:00
Eelco Dolstra
f218f0e93a
Try without fetch-depth:0
2024-07-09 16:53:02 +02:00