Archived
1
0
forked from rarias/bscpkgs

13 Commits

Author SHA1 Message Date
15bbfd587d Make lib imports in overlay explicit 2025-07-23 15:06:53 +02:00
d51261b9c4 Fix strictDeps ovni 2025-07-23 15:06:53 +02:00
71c7371342 Fix strictDeps osu 2025-07-23 15:06:52 +02:00
5611dd0c55 Fix strictDeps mercurium 2025-07-23 15:06:52 +02:00
f7b76285bd Fix strictDeps tampi 2025-07-23 15:06:52 +02:00
465a9805aa Fix strictDeps sonar 2025-07-23 15:06:52 +02:00
25504c4f98 Fix strictDeps nanos6 2025-07-23 15:06:52 +02:00
491c7ddd51 Fix strictDeps paraver 2025-07-23 15:06:52 +02:00
f63da541fe Fix strictDeps ompss2 2025-07-23 15:06:52 +02:00
82a3d11391 Fix strictDeps intel 2023 2025-07-23 15:06:51 +02:00
2116d3728d Fix strictDeps bench6 2025-07-23 15:06:51 +02:00
724ca54fe2 Fix strictDeps bigotes 2025-07-23 15:06:51 +02:00
1271c3b124 Set strictDeps=true on our top level packages 2025-07-23 15:06:51 +02:00

View File

@@ -1,15 +1,19 @@
final: /* Future last stage */
prev: /* Previous stage */
with final.lib;
let
callPackage = final.callPackage;
inherit (final.lib) collect isDerivation mapAttrs;
inherit (final) callPackage;
mkDeps = name: pkgs: final.runCommand name { }
"printf '%s\n' ${toString (collect (x: x ? outPath) pkgs)} > $out";
_bscPkgs = {
mkStrict = drv: if (isDerivation drv && drv ? overrideAttrs)
then drv.overrideAttrs { strictDeps = true; }
else drv;
bscPkgs = mapAttrs (_: mkStrict) {
bench6 = callPackage ./pkgs/bench6/default.nix { };
bigotes = callPackage ./pkgs/bigotes/default.nix { };
clangOmpss2 = callPackage ./pkgs/llvm-ompss2/default.nix { };
@@ -49,9 +53,6 @@ let
wxparaver = callPackage ./pkgs/paraver/default.nix { };
};
mkStrict = drv: if (isDerivation drv && drv ? overrideAttrs) then drv.overrideAttrs { strictDeps = true; } else drv;
bscPkgs = mapAttrs (_: mkStrict) _bscPkgs;
in bscPkgs // {
# Prevent accidental usage of bsc attribute
bsc = throw "the bsc attribute is deprecated, packages are now in the root";