nix: add i686 nix package to passthru tests

This commit is contained in:
Sandro Jäckel 2022-08-30 16:49:27 +02:00
parent 1ec0ec7583
commit a2fc5f439a
No known key found for this signature in database
GPG key ID: B1763F8651144063

View file

@ -54,6 +54,9 @@ in
, confDir
, stateDir
, storeDir
# passthru tests
, pkgsi686Linux
}: let
self = stdenv.mkDerivation {
pname = "nix";
@ -194,6 +197,16 @@ self = stdenv.mkDerivation {
enableParallelBuilding = true;
passthru = {
inherit aws-sdk-cpp boehmgc;
perl-bindings = perl.pkgs.toPerlModule (callPackage ./nix-perl.nix { nix = self; inherit Security; });
tests = {
nixi686 = pkgsi686Linux.nixVersions.${"nix_${lib.versions.major version}_${lib.versions.minor version}"};
};
};
meta = with lib; {
description = "Powerful package manager that makes package management reliable and reproducible";
longDescription = ''
@ -209,11 +222,5 @@ self = stdenv.mkDerivation {
platforms = platforms.unix;
outputsToInstall = [ "out" ] ++ optional enableDocumentation "man";
};
passthru = {
inherit aws-sdk-cpp boehmgc;
perl-bindings = perl.pkgs.toPerlModule (callPackage ./nix-perl.nix { nix = self; inherit Security; });
};
};
in self