Age | Commit message (Collapse) | Author |
|
|
|
Issue #4050.
|
|
|
|
|
|
|
|
NixOS/dependabot/github_actions/cachix/install-nix-action-v11
Bump cachix/install-nix-action from v10 to v11
|
|
|
|
CA derivations that depend on other CA derivations
|
|
Fix tar invocation on FreeBSD
|
|
|
|
|
|
|
|
|
|
|
|
tar(1) on FreeBSD does not use standard output or input when the -f flag
is not provided. Instead, it defaults to /dev/sa0 on FreeBSD.
Make this tar invocation a bit more robust and explicitly tell tar(1) to
use standard output.
This is one of the issues discovered while porting Nix to FreeBSD. It has
been tested and committed locally to FreeBSD ports:
https://svnweb.freebsd.org/ports/head/sysutils/nix/Makefile?revision=550026&view=markup#l108
|
|
Fix max-jobs option
|
|
libmain/progress-bar: don't trim whitespace on the left
|
|
Bumps [cachix/install-nix-action](https://github.com/cachix/install-nix-action) from v10 to v11.
- [Release notes](https://github.com/cachix/install-nix-action/releases)
- [Commits](https://github.com/cachix/install-nix-action/compare/v10...95a8068e317b8def9482980abe762f36c77ccc99)
Signed-off-by: dependabot[bot] <support@github.com>
|
|
* By default, build artifacts should be installed into `outputs/` rather
than `inst/`[1].
* Add instructions on how to run unit-tests.
[1] 733d2e9402807e54d503c3113e854bfddb3d44e0
|
|
|
|
When running `nix build -L` it can be fairly hard to read the output if
the build program intentionally renders whitespace on the left. A
typical example is `g++` displaying compilation errors.
With this patch, the whitespace on the left is retained to make the log
more readable:
```
foo> no configure script, doing nothing
foo> building
foo> foobar.cc: In function 'int main()':
foo> foobar.cc:5:5: error: 'wrong_func' was not declared in this scope
foo> 5 | wrong_func(1);
foo> | ^~~~~~~~~~
error: --- Error ------------------------------------------------------------------------------------- nix
error: --- Error --- nix-daemon
builder for '/nix/store/i1q76cw6cyh91raaqg5p5isd1l2x6rx2-foo-1.0.drv' failed with exit code 1
```
|
|
|
|
The registry targets generally follow a URL formatting schema with
support for a query parameter of "?dir=subpath" to specify a sub-path
location below the URL root.
Alternatively, an absolute path can be specified. This specification
mode accepts the query parameter but ignores/drops it. It would
probably be better to either (a) disallow the query parameter for the
path form, or (b) recognize the query parameter and add to the path.
This patch implements (b) for consistency, and to make it easier for
tooling that might switch between a remote git reference and a local
path reference.
See also issue #4050.
|
|
|
|
Deduplicate basic derivation goals too
|
|
Make `functionArgs` primitive accept primops (fix #3624)
|
|
|
|
Remove redundant value checks
|
|
std::optional had redundant checks for whether it had a value.
An object is emplaced either way so it can be dereferenced
without repeating a value check
|
|
After 0ed946aa616bbf7ffe7f90d3309abdd27d875b10, max-jobs setting (-j/--max-jobs)
stopped working.
The reason was that nrLocalBuilds (which compared to maxBuildJobs to figure
out whether the limit is reached or not) is not incremented yet when tryBuild
is started; So, the solution is to move the check to tryLocalBuild.
Closes https://github.com/nixos/nix/issues/3763
|
|
Fixes fall-through to report correct description of hash-file command.
|
|
|
|
registerOutputs(): Don't call canonicalisePathMetaData() twice
|
|
|
|
|
|
nix/store on btrfs compression: add workaround
|
|
|
|
|
|
|
|
Make archive preallocation (fallocate) optional because some filesystems
like btrfs do not behave as expected with fallocate.
See #3550.
|
|
Fixes #4021.
|
|
|
|
|
|
Use gold as the linker on Linux
|
|
Saves ~7s in the linking phase
|
|
|
|
fixed typo
|
|
|
|
See comments for security concerns.
Also optimize goal creation by not traversing map twice.
|
|
|