From e8b1503cc0694f242a46c2f435f1150be3d36030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aleix=20Bon=C3=A9?= Date: Wed, 23 Jul 2025 10:43:33 +0200 Subject: [PATCH] Force strictDeps=true on bsc-ci.pkgs --- overlay.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/overlay.nix b/overlay.nix index 52b0d17..a63363b 100644 --- a/overlay.nix +++ b/overlay.nix @@ -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";