Compare commits
12 Commits
08161bf291
...
4ba86c9ec0
| Author | SHA1 | Date | |
|---|---|---|---|
|
4ba86c9ec0
|
|||
|
23b25f475c
|
|||
|
0c6ba1a755
|
|||
|
7d756dad75
|
|||
|
47aa867cb9
|
|||
|
7a88cba1b8
|
|||
|
588792d08f
|
|||
|
c7799d3bef
|
|||
|
f9ed2b40b2
|
|||
|
834fb1d6d1
|
|||
|
919cde37f3
|
|||
|
940a3401e6
|
12
overlay.nix
12
overlay.nix
@@ -1,19 +1,15 @@
|
||||
final: /* Future last stage */
|
||||
prev: /* Previous stage */
|
||||
|
||||
let
|
||||
inherit (prev.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 && !(drv ? strictDeps))
|
||||
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 { };
|
||||
|
||||
Reference in New Issue
Block a user