bscpkgs/default.nix
2020-06-08 18:31:23 +02:00

28 lines
677 B
Nix

{ pkgs ? import <nixpkgs> {} }:
let
inherit (pkgs.lib) callPackageWith;
inherit (pkgs.lib) callPackagesWith;
inherit (pkgs) pythonPackages;
inherit (pkgs) perlPackages;
inherit (pkgs) buildPerlPackage;
callPackage = callPackageWith (pkgs // self.bsc);
callPackage_i686 = callPackageWith (pkgs.pkgsi686Linux // self.bsc);
callPackages = callPackagesWith (pkgs // self.bsc);
self.bsc = rec {
# Load the current implementations
self.mpi = pkgs.mpich;
extrae = callPackage ./bsc/extrae {
mpi = self.mpi;
};
tampi = callPackage ./bsc/tampi {
mpi = self.mpi;
};
nanos6 = callPackage ./bsc/nanos6 { };
};
in pkgs // self