Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
But in a way that's fast.
|
|
- Making sure everything evals? That's covered by release-checks!
- Building a list of tarballs? We throw it out anyway!
- Copying files around to produce the right paths in the tarball? Just tell tar to do it!
Also, multithread xz compression for additional fast.
Tarball job is under two minutes now. I hate computers.
|
|
|
|
This should improve latency on channel updates.
|
|
When run out of a tarball, it is possible for revCount to be missing.
|
|
The aim here is to avoid exhausting RAM of our normal machines
on hydra.nixos.org. See #227945 for details.
|
|
Otherwise, when this fails on Hydra, we have no way of seeing what
went wrong, e.g. [1].
[1]: https://hydra.nixos.org/log/2210x8gsd8jgdx73qa7hmhmmridyy7yp-nixpkgs-tarball-23.05pre450719.c11c55dd08a.drv
Suggested-by: K900 <me@0upti.me>
|
|
they're obsolete
|
|
what?
|
|
|
|
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
|
|
|
|
|
|
This variable was removed in 2016.
|
|
Brought up in
https://discourse.nixos.org/t/what-is-the-100mib-text-file-tmp-in-recent-channels-nixexprs-tar-xz/8137
and introduced by
https://github.com/NixOS/nixpkgs/commit/d6ec410a471a5f26fcaaf8f4f440b41fe3f13738.
|
|
This allows you to specify the system-wide flake registry. One use is
to pin 'nixpkgs' to the Nixpkgs version used to build the system:
nix.registry.nixpkgs.flake = nixpkgs;
where 'nixpkgs' is a flake input. This ensures that commands like
$ nix run nixpkgs#hello
pull in a minimum of additional store paths.
You can also use this to redirect flakes, e.g.
nix.registry.nixpkgs.to = {
type = "github";
owner = "my-org";
repo = "my-nixpkgs";
};
|
|
This reverts commit 5e8545e72341887bb371407a71a723bc0e9c7844.
It breaks eval:
attribute 'rev' missing, at /var/lib/ofborg/checkout/repo/38dca4e3aa6bca43ea96d2fcc04e8229/mr-est/eval-0-gleber.ewr1.nix.ci/pkgs/top-level/make-tarball.nix:106:39
|
|
Also change incorrect 'revision' to 'rev' in the default value for
'nixpkgs' in release.nix.
Fixes https://github.com/NixOS/nixos-homepage/issues/372.
|
|
https://github.com/NixOS/nixos-homepage/issues/372
|
|
Moved from nixos-homepage.
|
|
|
|
GitHub flakes don't provide revCount.
|
|
|
|
The misc.nix and systems.nix tests were invoked at three different
places. Let's not that.
|
|
Without that I couldn't well do the grandparent commit.
|
|
|
|
This was broken by 6bcf1944494973029071411bb378d4262ce2a678, which
caused the result of the check to be ignored (since xargs will return
a non-zero exit status if *any* grep doesn't find a match).
|
|
nixos/lib/make-channel.nix:16:
echo -n ${nixpkgs.rev or nixpkgs.shortRev} > .git-revision
This means the .git-revision exists in nixos channels, but not
Nixpkgs channels. Adding it to the nixpkgs channel makes it a
common API for any Nixpkgs use cases.
|
|
|
|
Since Nix now runs builds in a user namespace with uid == 0, this
triggered the message
warning: the group ‘nixbld’ specified in ‘build-users-group’ does not exist
which make-tarball.nix turns into a fatal error. So clear
build-users-group.
http://hydra.nixos.org/build/44817408
|
|
They're broken after all. In particular, this prevents us from
evaluating packages that are unsupported on a particular platform.
Reverts a147ddc42ce96608aa424f7b8b8784bd938958c7.
Fixes #20817.
|
|
Deprecation warnings should not be used in Nixpkgs because they spam
innocent "nix-env -qa" users with (in this case) dozens of messages
that they can't do anything about.
This also reverts commit 2ca883338389b7ab995924a0cab0211993bdf1da.
|
|
|
|
|
|
Fixes travis build failure.
|
|
|
|
nixpkgs repository.
|
|
Used by the Nix tests (https://github.com/NixOS/nix/commit/9fff4925613d44ac12775ad8840709130b9498d1).
|
|
|
|
This was preventing the Nixpkgs channel from updating, since the
program indexer barfed on:
error: anonymous function at /nix/store/wdnwbh3kmf68nhqqp0khcyxbdbp43vg5-nixos-14.12.626.b0d594c/nixos/nixpkgs/pkgs/top-level/node-packages.nix:1:1 called without required argument ‘neededNatives’, at /data/releases/nixos/unstable-small/.tmp-nixos-16.03pre72946.c50d013-787/unpack/nixos-16.03pre72946.c50d013/lib/customisation.nix:56:12
because Nixpkgs 16.03 was importing files from Nixpkgs 14.12.
Also added some half-assed checks to detect this issue in the future.
|
|
|
|
Commit 3d6110d2217f40225debc2f1902b0f22142e6f66 added a well-meaning
warning message, which unfortunately would also show up each time
`nix-env -qa` was run. It has been since fixed, but let's add a check
to prevent such errors from reaching the nixpkgs channel in the future.
|
|
This file no longer does anything.
|
|
It doesn't evaluate due to Qt changes. Also improve checking in
make-tarball.nix to catch this in the future.
|
|
|
|
|
|
|
|
|