Archived
1
0
forked from rarias/bscpkgs

12 Commits

Author SHA1 Message Date
d397d8aaf3 Fix strictDeps ovni 2025-07-23 15:00:45 +02:00
f182b7a80b Fix strictDeps osu 2025-07-23 15:00:45 +02:00
feec9d4509 Fix strictDeps mercurium 2025-07-23 15:00:45 +02:00
43215508f1 Fix strictDeps tampi 2025-07-23 15:00:45 +02:00
5fde277309 Fix strictDeps sonar 2025-07-23 15:00:44 +02:00
5565d45f4d Fix strictDeps nanos6 2025-07-23 15:00:44 +02:00
7d6213a16d Fix strictDeps paraver 2025-07-23 15:00:44 +02:00
b43cc68f5e Fix strictDeps ompss2 2025-07-23 15:00:44 +02:00
054dad2246 Fix strictDeps intel 2023 2025-07-23 15:00:44 +02:00
5957304c53 Fix strictDeps bench6 2025-07-23 15:00:44 +02:00
59617ed75e Fix strictDeps bigotes 2025-07-23 15:00:43 +02:00
dafefb61b9 Set strictDeps=true on our top level packages 2025-07-23 14:58:34 +02:00

View File

@@ -1,19 +1,15 @@
final: /* Future last stage */
prev: /* Previous stage */
let
inherit (final.lib) collect isDerivation mapAttrs;
with final.lib;
inherit (final) callPackage;
let
callPackage = final.callPackage;
mkDeps = name: pkgs: final.runCommand name { }
"printf '%s\n' ${toString (collect (x: x ? outPath) pkgs)} > $out";
mkStrict = drv: if (isDerivation drv && drv ? overrideAttrs)
then drv.overrideAttrs { strictDeps = true; }
else drv;
bscPkgs = mapAttrs (_: mkStrict) {
_bscPkgs = {
bench6 = callPackage ./pkgs/bench6/default.nix { };
bigotes = callPackage ./pkgs/bigotes/default.nix { };
clangOmpss2 = callPackage ./pkgs/llvm-ompss2/default.nix { };
@@ -53,6 +49,9 @@ 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";