Files
devshell/ompss2/flake.nix

37 lines
992 B
Nix

{
inputs.jungle.url = "git+https://jungle.bsc.es/git/rarias/jungle";
outputs = { self, jungle }:
let
nixpkgs = jungle.inputs.nixpkgs;
customOverlay = (final: prev: {
# Example overlay, for now empty
});
pkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [
# Apply jungle overlay to get our BSC custom packages
jungle.outputs.bscOverlay
# And on top apply our local changes to customize for cluster
customOverlay
];
};
in {
devShells.x86_64-linux.default = pkgs.mkShell {
pname = "ompss2-devshell";
# Include these packages in the shell
packages = with pkgs; [
clangOmpss2Nodes
nodes
nosv
ovni
# Optional: Add wxparaver to open .prv traces (needs a working $DISPLAY)
# wxparaver
];
# The dependencies needed to build these packages will be also included
inputsFrom = with pkgs; [
];
};
};
}