about summary refs log tree commit diff
path: root/pkgs/top-level/make-tarball.nix
AgeCommit message (Collapse)AuthorFilesLines
2024-06-04pkgs/top-level/make-tarball.nix: avoid hardlinksVladimír Čunát1-0/+3
2024-04-23pkgs/top-level/make-tarball.nix: make reproducibleK9001-3/+10
2024-04-23pkgs/top-level/make-tarball.nix: save another copyK9001-3/+7
2024-04-22pkgs/top-level/make-tarball.nix: add back the number of packages sanity checkK9001-3/+10
But in a way that's fast.
2024-04-22pkgs/top-level/make-tarball.nix: just don't do, like, most of itK9001-39/+13
- 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.
2024-04-22top-level/make-tarball.nix: drop unused argumentK9001-1/+0
2024-04-17pkgs/top-level: split release-checks into a separate jobK9001-3/+0
This should improve latency on channel updates.
2023-05-28make-tarball.nix: support an absent revcountGraham Christensen1-1/+1
When run out of a tarball, it is possible for revCount to be missing.
2023-04-30tarball job: tag both derivations as big-parallelVladimír Čunát1-0/+2
The aim here is to avoid exhausting RAM of our normal machines on hydra.nixos.org. See #227945 for details.
2023-02-02tarball: add --show-trace to nix-env commandAlyssa Ross1-1/+1
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>
2023-01-16treewide: remove usages of header and stopNestArtturin1-3/+3
they're obsolete
2022-06-29maintainers: remove allajs1241-1/+1
what?
2022-02-07release.nix: fix packages.json.br for tarballJonathan Ringer1-1/+1
2021-07-08Update pkgs/top-level/make-tarball.nixDomen Kožar1-1/+1
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-07-07GHA: add basic eval checksDomen Kožar1-47/+7
2021-05-31tarball: check systems based on the list of supported systemsDomen Kožar1-1/+2
2020-08-24Don't set $NIX_DB_DIREelco Dolstra1-1/+0
This variable was removed in 2016.
2020-07-14Remove tmp file from tarball jobCole Helbling1-0/+1
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.
2020-04-02nix-daemon.nix: Add option nix.registryEelco Dolstra1-1/+1
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"; };
2020-03-29Revert "make-tarball.nix: Restore the 'commit' field in packages.json"Florian Klink1-1/+1
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
2020-03-29make-tarball.nix: Restore the 'commit' field in packages.jsonEelco Dolstra1-1/+1
Also change incorrect 'revision' to 'rev' in the default value for 'nixpkgs' in release.nix. Fixes https://github.com/NixOS/nixos-homepage/issues/372.
2020-03-29make-tarball.nix: Strip source directory from packages.jsonEelco Dolstra1-1/+1
https://github.com/NixOS/nixos-homepage/issues/372
2020-03-24Add packages.json to the tarball jobEelco Dolstra1-4/+13
Moved from nixos-homepage.
2020-02-10Fix 'nix flake check'Eelco Dolstra1-2/+2
2020-02-05make-tarball.nix: Derive version from lastModified instead of revCountEelco Dolstra1-1/+4
GitHub flakes don't provide revCount.
2019-08-28treewide: remove redundant recvolth1-1/+1
2019-07-11make-tarball / lib-tests: reduce duplicationFrederik Rietdijk1-15/+2
The misc.nix and systems.nix tests were invoked at three different places. Let's not that.
2018-09-03tarball job: more --show-traceVladimír Čunát1-3/+3
Without that I couldn't well do the grandparent commit.
2018-07-04pkgs/top-level/release.nix: Don't require Darwin to be supportedEelco Dolstra1-2/+2
2017-12-07make-tarball.nix: Fix <nixpkgs> checkEelco Dolstra1-1/+3
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).
2017-10-11nixpkgs: expose .git-revision in the nixexprs like NixOSGraham Christensen1-0/+2
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.
2017-05-17lib: Consolidate tests into one meta jobJohn Ericson1-2/+9
2016-12-15make-tarball.nix: Fix running as rootEelco Dolstra1-2/+5
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
2016-11-30make-tarball.nix: Don't check broken packagesEelco Dolstra1-2/+2
They're broken after all. In particular, this prevents us from evaluating packages that are unsupported on a particular platform. Reverts a147ddc42ce96608aa424f7b8b8784bd938958c7. Fixes #20817.
2016-11-30Remove fetchMD5warnEelco Dolstra1-4/+1
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.
2016-10-12make-tarball.nix: filter out MD5 warnings in evaluation checkMichael Raskin1-1/+4
2016-08-01make tarball: refactor with fileContentsEric Sagnes1-1/+1
2016-07-19tarball: Only check nix files for nixpkgs referencesFranz Pletz1-1/+1
Fixes travis build failure.
2016-05-02tarball: No need to depend on nix development headersTuomas Tynkkynen1-1/+1
2016-03-13Replace references to all-packages.nix, by references to the top-level of ↵Nicolas B. Pierron1-2/+2
nixpkgs repository.
2016-01-19make-tarball.nix: Allow passing in a different NixEelco Dolstra1-1/+5
Used by the Nix tests (https://github.com/NixOS/nix/commit/9fff4925613d44ac12775ad8840709130b9498d1).
2015-12-16copy-tarballs.pl: Revive extracting all tarballs from release.nixEelco Dolstra1-2/+10
2015-12-02statsd: Don't use <nixpkgs>Eelco Dolstra1-5/+14
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.
2015-10-23Add stdenv bootstrap tools generation to release.nixEelco Dolstra1-2/+2
2015-10-10make-tarball.nix: Fail if nixpkgs doesn't evaluate without warningsTuomas Tynkkynen1-2/+10
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.
2015-08-05Nixpkgs channel: Remove channel-nameEelco Dolstra1-1/+0
This file no longer does anything.
2015-05-12viber: Mark as brokenEelco Dolstra1-1/+4
It doesn't evaluate due to Qt changes. Also improve checking in make-tarball.nix to catch this in the future.
2015-03-06Only test evaluation on supported platformsEelco Dolstra1-1/+1
2014-08-24Nixpkgs manual: Add a Nix expression to buildEelco Dolstra1-28/+1
2014-08-22Check whether Nixpkgs evaluates with NIXPKGS_ALLOW_BROKEN=1Eelco Dolstra1-1/+1