Age | Commit message (Collapse) | Author |
|
- `nixpkgsFor` does all of native, static, cross, and the different stdenvs.
- The main Nix derivation is no longer duplicated for static.
- DRY nixpkgs.lib and lib.genAttrs calls.
|
|
Improve hacking.md and add clangd+bear to devshell
|
|
- Refer to current version in readme
- Split into flakes and non-flakes section
- Change order to move nix-build to the end, since people often start
with it in the beginning.
- Use proper "Note" syntax
- Add notes about editor integration
- Move information about target platforms and stdenvs into separate
sections
Co-authored-by: Valentin Gagarin <valentin.gagarin@tweag.io>
Co-authored-by: Alexander Bantyev <alexander.bantyev@tweag.io>
Co-authored-by: Théophane Hufschmitt <theophane.hufschmitt@tweag.io>
|
|
|
|
|
|
Move nixos tests
|
|
See https://hydra.nixos.org/build/206790960
|
|
Revert "fixup: remove boehmgc patch"
|
|
|
|
The issue *seems* to be the cross jobs, which are missing the `CXXFLAGS`
needed to get rapidcheck.
PR #6538 would be really nice to resurrect which will prevent the
`configureFlags` from going out of sync between the regular build and
the cross build again.
|
|
Property tests are great!
Co-authored-by: Cole Helbling <cole.e.helbling@outlook.com>
|
|
|
|
This will allow contributors to find them more easily.
|
|
|
|
mdbook-linkcheck is not consistent about its warning setting.
It disables some warnings, but not the warnings about lack of
fragment checking support; hence the extra filtering.
|
|
Bump nixpkgs to 22.11
|
|
Make sure that it still compiles as it's easy to accidentally break one
of the `#if` guarded clauses
|
|
|
|
|
|
|
|
|
|
|
|
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.
|