Add slurm devshell for Isabel

This commit is contained in:
Rodrigo Arias Mallo 2025-06-16 11:58:41 +02:00
commit 84b230fb47
2 changed files with 63 additions and 0 deletions

42
isabel/slurm/flake.lock generated Normal file
View File

@ -0,0 +1,42 @@
{
"nodes": {
"bscpkgs": {
"inputs": {
"nixpkgs": "nixpkgs"
},
"locked": {
"lastModified": 1749650500,
"narHash": "sha256-2MHfVPV6RA7qPSCtXh4+KK0F0UjN+J4z8//+n6NK7Xs=",
"ref": "refs/heads/master",
"rev": "9d1944c658929b6f98b3f3803fead4d1b91c4405",
"revCount": 961,
"type": "git",
"url": "https://git.sr.ht/~rodarima/bscpkgs"
},
"original": {
"type": "git",
"url": "https://git.sr.ht/~rodarima/bscpkgs"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1736867362,
"narHash": "sha256-i/UJ5I7HoqmFMwZEH6vAvBxOrjjOJNU739lnZnhUln8=",
"path": "/nix/store/2csx2kkb2hxyxhhmg2xs9jfyypikwwk6-source",
"rev": "9c6b49aeac36e2ed73a8c472f1546f6d9cf1addc",
"type": "path"
},
"original": {
"id": "nixpkgs",
"type": "indirect"
}
},
"root": {
"inputs": {
"bscpkgs": "bscpkgs"
}
}
},
"root": "root",
"version": 7
}

21
isabel/slurm/flake.nix Normal file
View File

@ -0,0 +1,21 @@
{
inputs.bscpkgs.url = "git+https://git.sr.ht/~rodarima/bscpkgs";
outputs = { self, bscpkgs }:
let
nixpkgs = bscpkgs.inputs.nixpkgs;
pkgs = import nixpkgs {
system = "x86_64-linux";
overlays = [ bscpkgs.outputs.bscOverlay ];
};
in {
devShells.x86_64-linux.default = pkgs.mkShell {
pname = "devshell";
#buildInputs = with pkgs; [
# gcc # more packages here...
#];
inputsFrom = with pkgs; [
slurm nanos6
];
};
};
}