aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
AgeCommit message (Collapse)Author
2022-12-13Build Nix with the GC disabled in hydraThéophane Hufschmitt
Make sure that it still compiles as it's easy to accidentally break one of the `#if` guarded clauses
2022-12-07flake.nix: Use nixpkgs.lib.fileContentsRobert Hensing
2022-12-07.version: Add newlineRobert Hensing
2022-11-27Add tests for auto-uid-allocation, uid-range and cgroupsEelco Dolstra
2022-09-26Merge pull request #7043 from edolstra/installer-testEelco Dolstra
Add an installer test
2022-09-24Merge pull request #7082 from rapenne-s/ccacheThéophane Hufschmitt
add ccacheStdenv
2022-09-23add ccacheStdenvSolène Rapenne
when using ccache, rebuild time has been measured 89% faster while not slowing the speed of cold builds
2022-09-14Add an installer testEelco Dolstra
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.
2022-09-05Installer: Reset the timestamps in the tarballThéophane Hufschmitt
Otherwise it isn't reproducible. Fix https://github.com/NixOS/nix/issues/7001
2022-07-14curl: patch for netrc regression in NixDomen Kožar
2022-07-11Fix buildStatic.aarch64-linuxEelco Dolstra
Commit 925b97522497e9c0f7a385c904410e560796208f accidentally enabled use of the gold linker on aarch64-linux, which apparently doesn't work. https://hydra.nixos.org/build/183500621
2022-06-24Add reminder to remove nix-static testing hackEelco Dolstra
https://github.com/NixOS/nix/pull/6708#issuecomment-1165912951
2022-06-23Embed the sandbox shell into the statically linked 'nix' binaryEelco Dolstra
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
2022-06-22Enable/fix tests in nix-staticEelco Dolstra
pkgsStatic is apparently considered a cross environment, so checkPhase and installCheckPhase are disabled even when we ask for them.
2022-06-08Merge pull request #6630 from edolstra/boost-dylibEelco Dolstra
Remove ${boost}/lib from the RPATH
2022-06-08Remove ${boost}/lib from the RPATHEelco Dolstra
2022-06-08Merge pull request #6624 from NixOS/new-flake-styleThéophane Hufschmitt
flake.nix: Convert to new naming convention
2022-06-07Convert to new flake styleEelco Dolstra
https://github.com/NixOS/nix/issues/5532
2022-06-07Fix 22.05 eval warningsEelco Dolstra
2022-06-07Disable cross builds on platforms other than x86_64-linuxEelco Dolstra
Needed because evaluation was broken on x86_64-darwin.
2022-05-31flake: update to 22.05Cole Helbling
The static build works now :)
2022-05-31Merge pull request #6537 from cole-h/update-flakeEelco Dolstra
flake: use github: reference to nixpkgs
2022-05-30Mark nix-perl as a Perl moduleEelco Dolstra
The call to perl.withPackages in nix-serve expects this.
2022-05-30Set meta.platformsEelco Dolstra
'nix-serve' in nixpkgs expects the nix package to set this.
2022-05-27Merge branch 'doc-redirects' of https://github.com/jtojnar/nixEelco Dolstra
2022-05-26doc: Port anchors preprocessor to jq scriptJan Tojnar
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.
2022-05-26Remove unused Perl dependencyEelco Dolstra
2022-05-16flake: use github: reference to nixpkgsCole Helbling
This allows flakes that don't override the Nixpkgs input and also have a different flake registry.
2022-04-28Add libcxxStdenv devshellEelco Dolstra
2022-02-23add sourcehut integration testGabriel Fontes
2022-02-11flake.nix: Fix indentEelco Dolstra
2022-01-26Use the `nix` command (and flakes) in the CIregnat
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.
2022-01-26Stop vendoring nlohmann_jsonEelco Dolstra
2022-01-25flake.nix: Fix indentationEelco Dolstra
2022-01-25Add regression / performance tests against a fixed revision of NixpkgsEelco Dolstra
2022-01-21Merge remote-tracking branch 'origin/master' into ↵Rok Garbas
push-docker-image-to-docker-hub
2022-01-15Remove the references to boost on darwinregnat
2022-01-14Forbid runtime references to boostregnat
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)
2022-01-11Push docker image (only x86_64-linux right now) to hub.docker.comRok Garbas
2021-12-22Make bash completion for 'nix' work in a devshellEelco Dolstra
2021-12-15pkgconfig -> pkg-configEelco Dolstra
2021-12-15Revert "update flake.nix to 21.11"Eelco Dolstra
This reverts commit ad9322a48fce955fb30b111b0fb5c3b8007a6e2e because it breaks hydraJobs.buildStatic.* and the evaluation of some tests.
2021-12-03update flake.nix to 21.11Jörg Thalheim
2021-11-26Add a matrix of stdenvs to the flakeregnat
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
2021-11-25flake.nix: Only have checks.*.dockerImage on supported systemsEelco Dolstra
2021-11-24Add dockerImage to the checksRok Garbas
2021-11-24Don't copy, to reduce store sizeRok Garbas
2021-11-23Make docker image downloadable in Hydra UIRok Garbas
2021-11-22flake: Do not use aliasesJan Tojnar
gmock is not available with `nixpkgs.config.allowAliases = false`.
2021-11-11Docker image with Nix insideRok Garbas