Move pkgs overlay to overlay.nix

This commit is contained in:
Rodrigo Arias 2023-08-25 18:12:00 +02:00
parent f5d6bf627b
commit cb3a7b19f7
2 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,7 @@
nixpkgs.overlays = [
bscpkgs.bscOverlay
(import ../../pkgs/mpi.nix)
(import ../../pkgs/overlay.nix)
];
nix.nixPath = [

View File

@ -1,7 +1,10 @@
final: prev:
{
bsc = prev.bsc.extend (bscFinal: bscPrev: {
# Set MPICH as default
mpi = bscFinal.mpich;
# Configure the network for MPICH
mpich = with final; prev.mpich.overrideAttrs (old: {
buildInput = old.buildInputs ++ [
libfabric