aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
AgeCommit message (Collapse)Author
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
2021-10-28Merge remote-tracking branch 'origin/master' into non-blocking-gcEelco Dolstra
2021-10-23Fix devShell build on non-NixOS with a different boost versionBenoit de Chezelles
2021-10-15Run installTests on HydraEelco Dolstra
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