24 lines
644 B
Nix
24 lines
644 B
Nix
{ lib, pkgs, }: let
|
|
inherit (pkgs) callPackage;
|
|
load = baseDir: lib.mapAttrs (name: _: callPackage "${baseDir}/${name}/package.nix" {}) (
|
|
lib.filterAttrs (_: type: type == "directory") (builtins.readDir baseDir)
|
|
);
|
|
in (load ./.) // {
|
|
|
|
vapoursynth-bm3dcpu = callPackage ./vapoursynth-bm3dcuda/package.nix {
|
|
cudaSupport = false;
|
|
cpuSupport = true;
|
|
};
|
|
|
|
vs-dfttest2cuda = callPackage ./vs-dfttest2/package.nix {
|
|
cudaSupport = true;
|
|
};
|
|
|
|
vs-dfttest2gcc = callPackage ./vs-dfttest2/package.nix {
|
|
genericVector = true;
|
|
};
|
|
|
|
vs-dfttest2hip = callPackage ./vs-dfttest2/package.nix {
|
|
rocmSupport = true;
|
|
};
|
|
}
|