summaryrefslogtreecommitdiff
path: root/ci/default.nix
diff options
context:
space:
mode:
authorWolfgang Walther <walther@technowledgy.de>2025-07-22 14:12:49 +0200
committerWolfgang Walther <walther@technowledgy.de>2025-07-24 09:50:39 +0200
commitbfb20b9feada22bfc00ade6d079d95ca71732cf7 (patch)
tree710bfcd5596571bbd2f3f7402c3ba12252b6c6ce /ci/default.nix
parentpython3Packages.ffmpy: unbreak build with uv-build >=0.8.0 (#426347) (diff)
downloadnixpkgs-bfb20b9feada22bfc00ade6d079d95ca71732cf7.tar.gz
workflows/build: build nixpkgs tarball
This adds a build job for the tarball, which might help uncover eval issues on attributes not normally touched by Eval, aka those added in `pkgs/top-level/packages-config.nix`.
Diffstat (limited to 'ci/default.nix')
-rw-r--r--ci/default.nix16
1 files changed, 15 insertions, 1 deletions
diff --git a/ci/default.nix b/ci/default.nix
index 68fce29901a0..a33b023a6beb 100644
--- a/ci/default.nix
+++ b/ci/default.nix
@@ -89,7 +89,7 @@ let
};
in
-{
+rec {
inherit pkgs fmt;
requestReviews = pkgs.callPackage ./request-reviews { };
codeownersValidator = pkgs.callPackage ./codeowners-validator { };
@@ -113,4 +113,18 @@ in
minimum = pkgs.callPackage ./parse.nix { nix = pkgs.nixVersions.minimum; };
};
shell = import ../shell.nix { inherit nixpkgs system; };
+ tarball = import ../pkgs/top-level/make-tarball.nix {
+ # Mirrored from top-level release.nix:
+ nixpkgs = {
+ outPath = pkgs.lib.cleanSource ../.;
+ revCount = 1234;
+ shortRev = "abcdef";
+ revision = "0000000000000000000000000000000000000000";
+ };
+ officialRelease = false;
+ inherit pkgs lib-tests;
+ # 2.28 / 2.29 take 9x longer than 2.30 or Lix.
+ # TODO: Switch back to nixVersions.latest
+ nix = pkgs.lix;
+ };
}