Merge pull request #319220 from ExpidusOS/fix/test-infinite-recurse
Fix failures with pkgs/top-level/release-attrpaths-superset.nix
This commit is contained in:
commit
b8946c1bf2
@ -56,7 +56,7 @@ in
|
||||
, prepend ? []
|
||||
|
||||
# Whether to wrap the initramfs in a u-boot image.
|
||||
, makeUInitrd ? stdenvNoCC.hostPlatform.linux-kernel.target == "uImage"
|
||||
, makeUInitrd ? stdenvNoCC.hostPlatform.linux-kernel.target or "dummy" == "uImage"
|
||||
|
||||
# If generating a u-boot image, the architecture to use. The default
|
||||
# guess may not align with u-boot's nomenclature correctly, so it can
|
||||
@ -75,11 +75,9 @@ let
|
||||
toValidStoreName = x: with builtins;
|
||||
lib.concatStringsSep "-" (filter (x: !(isList x)) (split "[^a-zA-Z0-9_=.?-]+" x));
|
||||
|
||||
in stdenvNoCC.mkDerivation rec {
|
||||
in stdenvNoCC.mkDerivation (rec {
|
||||
inherit name makeUInitrd extension uInitrdArch prepend;
|
||||
|
||||
${if makeUInitrd then "uInitrdCompression" else null} = uInitrdCompression;
|
||||
|
||||
builder = ./make-initrd.sh;
|
||||
|
||||
nativeBuildInputs = [ perl libarchive ]
|
||||
@ -110,4 +108,6 @@ in stdenvNoCC.mkDerivation rec {
|
||||
contents
|
||||
(lib.range 0 (lib.length contents - 1));
|
||||
pathsFromGraph = ./paths-from-graph.pl;
|
||||
}
|
||||
} // lib.optionalAttrs makeUInitrd {
|
||||
uInitrdCompression = uInitrdCompression;
|
||||
})
|
||||
|
@ -99,6 +99,9 @@ let
|
||||
in
|
||||
|
||||
{
|
||||
# Disable on Darwin due to assumptions with __bootPackages
|
||||
__attrsFailEvaluation = stdenv.isDarwin;
|
||||
|
||||
# tests for hooks in `stdenv.defaultNativeBuildInputs`
|
||||
hooks = lib.recurseIntoAttrs (import ./hooks.nix { stdenv = bootStdenv; pkgs = earlyPkgs; inherit lib; });
|
||||
|
||||
|
@ -52,6 +52,7 @@ let
|
||||
pkgsMusl = true;
|
||||
pkgsStatic = true;
|
||||
pkgsCross = true;
|
||||
pkgsx86_64Darwin = true;
|
||||
pkgsi686Linux = true;
|
||||
pkgsLinux = true;
|
||||
pkgsExtraHardening = true;
|
||||
@ -70,9 +71,11 @@ let
|
||||
override = true;
|
||||
__functor = true;
|
||||
__functionArgs = true;
|
||||
__splicedPackages = true;
|
||||
newScope = true;
|
||||
scope = true;
|
||||
pkgs = true;
|
||||
test-pkgs = true;
|
||||
|
||||
buildHaskellPackages = true;
|
||||
buildPackages = true;
|
||||
|
Loading…
Reference in New Issue
Block a user