aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
AgeCommit message (Collapse)Author
2021-10-07Adds a test for nss preload mechanismArthur Gautier
This tests for the fix implemented in #5224 Signed-off-by: Arthur Gautier <baloo@superbaloo.net>
2021-10-06Make Mercurial optional for the flakes testsEelco Dolstra
2021-10-06Disable testing against nixUnstable on macOSEelco Dolstra
This is failing randomly at the moment which isn't very helpful.
2021-10-05CompatibilityEelco Dolstra
2021-10-05Revert "Shorten the test drv name"Eelco Dolstra
This reverts commit 5ec873b127139ca90cc31967c25c9a34fb4cc3e4.
2021-09-27Use separate lowdownEelco Dolstra
Overriding the lowdown in nixpkgs can break nixUnstable.
2021-09-24Use latest lowdownEelco Dolstra
This improves list rendering (https://github.com/kristapsdz/lowdown/issues/73).
2021-09-20flake: Use the real nixUnstable from nixpkgsregnat
Don’t let it pick our overriden lowdown as that would cause it not to be cached in cache.nixos.org
2021-09-14Merge pull request #5246 from edolstra/faster-checkEelco Dolstra
Speed up 'nix flake check'
2021-09-14flake.nix: Don't do cross builds in 'nix flake check'Eelco Dolstra
'nix flake check' should be relatively fast, so it's not the best place to do cross-builds. We're already doing that in Hydra.
2021-09-14nix-tests: Run 'make installcheck' in parallelEelco Dolstra
2021-09-13lowdown: Update to 0.8.6Eelco Dolstra
2021-07-15nlohmann_json: Update to 3.9.1, fix use of internal copyEelco Dolstra
2021-06-29Disable -pie on static nixMatthew Bauer
This should resolve the failing build. See https://github.com/NixOS/nixpkgs/pull/128674 for a better fix.
2021-06-29Only cross compile from x86_64-linuxMatthew Bauer
This is broken on aarch64-linux / x86_64-darwin, so might as well just disable it for now.
2021-06-29Merge pull request #4944 from hercules-ci/fix-gc-crashEelco Dolstra
Fix gc crash
2021-06-28Support binaryTarballCross in ghaMatthew Bauer
2021-06-26Build cross-compilation in ghaMatthew Bauer
2021-06-26Support cross-compiling binaryTarballMatthew Bauer
2021-06-25Merge remote-tracking branch 'origin/master' into cross-jobsMatthew Bauer
2021-06-24boehmgc: Crude support for coroutinesRobert Hensing
Fixes the problem where a stack pointer outside the original thread causes the collector to crash. It could be made more accurate by recording the stack pointer every time we switch to a coroutine. We can use this information to update our own coroutine stacks like normal data. When the stack pointer is on a thread, we can add a field to GC_thread "fallback_sp" to be used when the thread sp is outside the original thread range.
2021-06-21perlBindings: fix build on aarch64-darwinDomen Kožar
2021-06-01Include aarch64-darwin in installerFinn Behrens
Co-authored-by: Matthew Bauer <mjbauer95@gmail.com>
2021-06-01enable aarch64-darwin buildFinn Behrens
disable lowdown sandbox on aarch64-darwin
2021-05-29Build for aarch64-darwinDomen Kožar
2021-04-23Use lowdown 0.8.4Eelco Dolstra
2021-04-15Merge branch 'build-with-strictDeps' of https://github.com/hercules-ci/nixEelco Dolstra
2021-04-15Drop libbz2 / zlib / lzma dependency + style fixesEelco Dolstra
2021-03-31flake.nix: Make the sandbox tests work againRobert Hensing
2021-03-31flake.nix: Build nix with strictDeps = trueRobert Hensing
2021-03-29Merge pull request #4239 from tweag/test-against-old-daemonEelco Dolstra
Add a CI check to ensure compatibility with an old daemon
2021-03-29nixpkgs/master compatibilityEelco Dolstra
2021-03-16Shorten the test drv nameregnat
To prevent the OSX build to fail because of a too long socket path
2021-03-16Make the tests (optionnally) run in another derivationregnat
That way we can run them without rebuilding Nix
2021-03-16Add a test ensuring compatibility with an old daemonregnat
This requires adding `nix` to its own closure which is a bit unfortunate, but as it is optional (the test will be disabled if `OUTER_NIX` is unset) it shouldn't be too much of an issue. (Ideally this should go in another derivation so that we can build Nix and run the test independently, but as the tests are running in the same derivation as the build it's a bit complicated to do so).
2021-03-09Merge branch 'master' into cross-jobsMatthew Bauer
2021-02-25Merge pull request #4549 from NixOS/installer-artifactEelco Dolstra
Test macos/linux installer script for each push
2021-02-22Add x86_64 compute levels as additional system typesDaniël de Kok
When performing distributed builds of machine learning packages, it would be nice if builders without the required SIMD instructions can be excluded as build nodes. Since x86_64 has accumulated a large number of different instruction set extensions, listing all possible extensions would be unwieldy. AMD, Intel, Red Hat, and SUSE have recently defined four different microarchitecture levels that are now part of the x86-64 psABI supplement and will be used in glibc 2.33: https://gitlab.com/x86-psABIs/x86-64-ABI https://lwn.net/Articles/844831/ This change uses libcpuid to detect CPU features and then uses them to add the supported x86_64 levels to the additional system types. For example on a Ryzen 3700X: $ ~/aps/bin/nix -vv --version | grep "Additional system" Additional system types: i686-linux, x86_64-v1-linux, x86_64-v2-linux, x86_64-v3-linux
2021-02-21Generate installer script for each PR/pushDomen Kožar
This works by using Cachix feature of serving a file from a store path.
2021-02-06libcmd/markdown: handle allocation errors in lowdown_term_rndrsternenseemann
We upgrade to lowdown 0.8.0 [1] which contains a fix/improvement to a behavior mentioned in this issue thread [2] where a big part of lowdown's API would just call exit(1) on allocation errors since that is a satisfying behavior for the lowdown binary. Now lowdown_term_rndr returns 0 if an allocation error occurred which we check for in libcmd/markdown.cc. Also the extern "C" { } wrapper around lowdown.h has been removed as it is not necessary. [1]: https://github.com/kristapsdz/lowdown/blob/6ca7c855a063d1c77ae0b89405047cc3913a74d8/versions.xml#L987-L1006 [2]: https://github.com/kristapsdz/lowdown/issues/45#issuecomment-756681153
2021-02-05Re-enable armv6l supportMatthew Bauer
This fixes the libatomic detection.
2021-02-05Merge remote-tracking branch 'origin/master' into cross-jobsMatthew Bauer
2021-02-05Merge pull request #4495 from Infinisil/perl-bindings-passthruEelco Dolstra
Use passthru for perl-bindings, allows Nix patching for Hydra
2021-01-29Use passthru for perl-bindings, allows Nix patching for HydraSilvan Mosberger
This allows patching Nix for Hydra with additional overlays, because `.overrideAttrs` and co. will persist the passthru's
2021-01-26Update to lowdown 0.7.9Eelco Dolstra
2020-12-03Include static "nix" binary in Hydra build productsMatthew Bauer
This allows users to get Nix from Hydra via a stable url like https://hydra.nixos.org/build/132078238/download/1/nix
2020-11-21installer: simplify the per-build installationzimbatm
The goal is to allow the installation and testing of arbitrary Nix versions. Extend the base installer to accept a `--tarball-url-prefix <url>` to change where the Nix tarball is getting downloaded from. Once this is merged it should allow to: 1. Pick an evaluation at https://hydra.nixos.org/jobset/nix/master that looks healthy 2. Select the installedScript build and find the store path. Now equipped with all of this, use an instance of nar-serve to fetch the install script and release tarballs: curl -sfL https://nar-serve.numtide.com/nix/store/rkv4yh7pym941bhj0849zqdkg2546bdv-installer-script/install \ | sh --tarball-url-prefix https://nar-serve.numtide.com/nix/store Or with cachix, strip the /nix/store and derivation name and then: curl -sfL https://mycache.cachix.org/serve/rkv4yh7pym941bhj0849zqdkg2546bdv/install \ | sh --tarball-url-prefix https://mycache.cachix.org/serve Fixes #4047
2020-11-17Remove tests.binaryTarballEelco Dolstra
This test no longer works on Hydra because import-from-derivation is no longer allowed.
2020-11-05Allow substituting paths when building remotely using `ssh-ng://`Maximilian Bosch
Until now, it was not possible to substitute missing paths from e.g. `https://cache.nixos.org` on a remote server when building on it using the new `ssh-ng` protocol. This is because every store implementation except legacy `ssh://` ignores the substitution flag passed to `Store::queryValidPaths` while the `legacy-ssh-store` substitutes the remote store using `cmdQueryValidPaths` when the remote store is opened with `nix-store --serve`. This patch slightly modifies the daemon protocol to allow passing an integer value suggesting whether to substitute missing paths during `wopQueryValidPaths`. To implement this on the daemon-side, the substitution logic from `nix-store --serve` has been moved into a protected method named `Store::substitutePaths` which gets currently called from `LocalStore::queryValidPaths` and `Store::queryValidPaths` if `maybeSubstitute` is `true`. Fixes #2770
2020-10-28No x86_32 static nix jobs for nowJohn Ericson
Fixes #4175