aboutsummaryrefslogtreecommitdiff
path: root/flake.nix
AgeCommit message (Collapse)Author
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
2020-10-20Merge pull request #3996 from abathur/macos_big_sur_fixesDomen Kožar
Macos big sur installer fixes
2020-10-19restore create-darwin-volume to release tarballTravis A. Everett
The move from release.nix to flake.nix appears to have lost some changes from #3628 / 1c56f18a8122b605c28000e295d5e223f272cccd, leaving create-darwin-volume.sh out of the release tarball. Under the assumption that this was just an accident/byproduct of when flake.nix split off and not intentional, I am restoring those edits.
2020-10-18Remove buildStatic from checksEelco Dolstra
checks should be relatively fast, but buildStatic depends on a lot of stuff that isn't in the binary cache (e.g. musl builds of Git and Mercurial that we probably don't need since we don't link against them...).
2020-10-18Switch to Nixpkgs 20.09Eelco Dolstra
2020-10-15`build-static` -> `buildStatic` in Nix's flakeJohn Ericson
2020-10-09Merge remote-tracking branch 'upstream/master' into fix-and-ci-static-buildsJohn Ericson
2020-09-23Use gold as the linker on Linuxregnat
Saves ~7s in the linking phase
2020-09-21Disable precompiled headers in 'nix develop'Eelco Dolstra
They're still enabled in regular builds though.
2020-09-21Update lowdown versionregnat
Fix #4042 According to https://github.com/kristapsdz/lowdown/commit/8aef9e9290de22a10c14ae138257bc1c7fa8ba1f, we shouldn't need to use a fork anymore so we can switch back to upstream
2020-09-04Separate lowdown lib and bin to be more preciseJohn Ericson
2020-09-04Merge remote-tracking branch 'upstream/master' into fix-and-ci-static-buildsJohn Ericson
2020-09-04Remove duplicate buildInputsJohn Ericson
2020-09-01Merge remote-tracking branch 'origin/master' into markdownEelco Dolstra
2020-08-31Restore some of the shellHookEelco Dolstra
2020-08-31Merge remote-tracking branch 'origin/master' into markdownEelco Dolstra
2020-08-28nix develop: Set output paths to writable locationsEelco Dolstra
Currently, they're set to $(pwd)/outputs/$outputName. This allows commands like 'make install' to work.
2020-08-25Fix perlBindings jobEelco Dolstra
2020-08-24Fix clang buildEelco Dolstra
2020-08-19Revert "Add a separate manual job"Eelco Dolstra
This reverts commit 5e3ad1dde0a03b3bd094e1d4ecc0f4fc7abdaa5c. Manual generation now depends on the 'nix' command.
2020-07-31Enable syntax highlightingEelco Dolstra
2020-07-30Only enable static on linuxMatthew Bauer
2020-07-30Fix buildMatthew Bauer
2020-07-30Merge remote-tracking branch 'origin/master' into fix-and-ci-static-buildsMatthew Bauer
2020-07-23Add a separate manual jobEelco Dolstra
2020-07-23Use mdbookEelco Dolstra
2020-07-23Markdown testEelco Dolstra
2020-06-17Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-06-09flake.nix: Remove editionEelco Dolstra
2020-05-28Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-05-06Remove support for old lockfiles and the epoch/uri attributesEelco Dolstra
2020-04-10Remove flake 'edition' fieldEelco Dolstra
Future editions of flakes or the Nix language can be supported by renaming flake.nix (e.g. flake-v2.nix). This avoids a bootstrap problem where we don't know which grammar to use to parse flake*.nix. It also allows a project to support multiple flake editions, in theory.
2020-04-03Fix job nameEelco Dolstra
2020-04-03Publish a tarball containing the crates we depend onEelco Dolstra
This is needed since we no longer produce a source tarball.
2020-04-02Temporary backward compatibility hackEelco Dolstra
2020-04-02Change lastModified to the number of seconds in the epochEelco Dolstra
'lastModifiedDate' is now a string representing the equivalent date/time.
2020-04-01Set version properlyEelco Dolstra
2020-03-28flake.nix: Support Nixpkgs 19.09Eelco Dolstra
2020-03-20Fix coverage jobEelco Dolstra
2020-03-20flake.nix: Switch to 20.03Eelco Dolstra
2020-03-13Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-03-13Build vendoredCrates in the overlayEelco Dolstra
This makes it build on non-x86_64-linux systems (needed in GitHub actions).
2020-03-13Merge remote-tracking branch 'origin/master' into flakesEelco Dolstra
2020-02-18ggRevert "Use Nixpkgs 20.03"Eelco Dolstra
This reverts commit 5921ca89f9cc6247830e92a71f7db3f1fe0c193b.
2020-02-18Use Nixpkgs 20.03Eelco Dolstra
2020-02-17nix eval-hydra-jobs: Support job names as aggregate constituentsEelco Dolstra
Fixes https://github.com/NixOS/hydra/issues/715.