commit 84b230fb47266fbb9d7508220992d37f935fc567 Author: Rodrigo Arias Mallo Date: Mon Jun 16 11:58:41 2025 +0200 Add slurm devshell for Isabel diff --git a/isabel/slurm/flake.lock b/isabel/slurm/flake.lock new file mode 100644 index 0000000..e1985f7 --- /dev/null +++ b/isabel/slurm/flake.lock @@ -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 +} diff --git a/isabel/slurm/flake.nix b/isabel/slurm/flake.nix new file mode 100644 index 0000000..4fe1ea8 --- /dev/null +++ b/isabel/slurm/flake.nix @@ -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 + ]; + }; + }; +}