Archived
1
0
forked from rarias/bscpkgs

Force strictDeps=true on bsc-ci.pkgs

This commit is contained in:
2025-07-23 10:43:33 +02:00
parent 1666c14a35
commit e8b1503cc0

View File

@@ -49,6 +49,11 @@ let
wxparaver = callPackage ./pkgs/paraver/default.nix { };
};
allPkgs = collect isDerivation bscPkgs;
mkStrict = pkg: if pkg ? overrideAttrs then pkg.overrideAttrs { strictDeps = true; } else pkg;
strictPkgs = map mkStrict allPkgs;
in bscPkgs // {
# Prevent accidental usage of bsc attribute
bsc = throw "the bsc attribute is deprecated, packages are now in the root";
@@ -89,7 +94,7 @@ in bscPkgs // {
};
pkgs = final.runCommand "ci-pkgs" { }
"printf '%s\n' ${toString (collect isDerivation bscPkgs)} > $out";
"printf '%s\n' ${toString strictPkgs} > $out";
tests = final.runCommand "ci-tests" { }
"printf '%s\n' ${toString (collect isDerivation final.bsc-ci.test)} > $out";