Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Add an installer test
|
|
add ccacheStdenv
|
|
when using ccache, rebuild time has been measured
89% faster while not slowing the speed of cold builds
|
|
This runs the installer in a QEMU VM. Unlike the old installer test
that ran inside a declaratively built RedHat/Debian image, this uses
an image from Vagrant.
|
|
Otherwise it isn't reproducible.
Fix https://github.com/NixOS/nix/issues/7001
|
|
|
|
Commit 925b97522497e9c0f7a385c904410e560796208f accidentally enabled
use of the gold linker on aarch64-linux, which apparently doesn't work.
https://hydra.nixos.org/build/183500621
|
|
https://github.com/NixOS/nix/pull/6708#issuecomment-1165912951
|
|
With this, Nix will write a copy of the sandbox shell to /bin/sh in
the sandbox rather than bind-mounting it from the host filesystem.
This makes /bin/sh work out of the box with nix-static, i.e. you no
longer get
/nix/store/qa36xhc5gpf42l3z1a8m1lysi40l9p7s-bootstrap-stage4-stdenv-linux/setup: ./configure: /bin/sh: bad interpreter: No such file or directory
|
|
pkgsStatic is apparently considered a cross environment, so checkPhase
and installCheckPhase are disabled even when we ask for them.
|
|
Remove ${boost}/lib from the RPATH
|
|
|
|
flake.nix: Convert to new naming convention
|
|
https://github.com/NixOS/nix/issues/5532
|
|
|
|
Needed because evaluation was broken on x86_64-darwin.
|
|
The static build works now :)
|
|
flake: use github: reference to nixpkgs
|
|
The call to perl.withPackages in nix-serve expects this.
|
|
'nix-serve' in nixpkgs expects the nix package to set this.
|
|
|
|
Python is only pulled into the build closure by Mercurial, which might end up being removed.
Let’s port the script to jq, which is more likely to stay.
|
|
|
|
This allows flakes that don't override the Nixpkgs input and also have a
different flake registry.
|
|
|
|
|
|
|
|
Apart from a slight simplification and a bit of dogfooding, this also
make the cache behavior more predictable.
For example `nix build .` and `nix build nix/$(git rev-parse HEAD)` will
yield the exact same path, while their “intuitive” non-flake equivalents
(`nix-build` and
`nix-build https://github.com/nixos/nix/archives/$(git rev-parse HEAD).tar.gz`)
don’t.
This was a pain for example in https://github.com/NixOS/nix/pull/5059
Also, the `bar-with-logs` log format is imho nicer (even in an
non-interactive context) because prefixing each log line with the name
of the derivation that produced it makes it much easier to follow what’s
going on.
|
|
|
|
|
|
|
|
push-docker-image-to-docker-hub
|
|
|
|
We explicitly hack around to remove them, so might as well check that
the hack is useful.
(Introduced because I feared that the changes of
https://github.com/NixOS/nix/pull/5906#discussion_r784810238 would bring
back some runtime references)
|
|
|
|
|
|
|
|
This reverts commit ad9322a48fce955fb30b111b0fb5c3b8007a6e2e because
it breaks hydraJobs.buildStatic.* and the evaluation of some tests.
|
|
|
|
For a (currently hardcoded and limited) list of stdenvs,
make `.#$nix-${stdenvName}` correspond to a Nix built with the
corresponding stdenv.
For example, `.#nix-${clang11Stdenv}` is Nix built with clang11.
Likewise, `devShells.x86_64-linux.clang11StdenvPackages` is a development
shell for Nix with clang11, that can be used with
```shell
nix develop .#clang11StdenvPackages
```
Fix #4129
/cc @pamplemousse
|
|
|
|
|
|
|
|
|
|
gmock is not available with `nixpkgs.config.allowAliases = false`.
|
|
|
|
|