diff options
author | Raghuram Subramani <raghus2247@gmail.com> | 2024-05-29 18:05:29 +0530 |
---|---|---|
committer | Raghuram Subramani <raghus2247@gmail.com> | 2024-05-29 18:08:53 +0530 |
commit | a4c99c97b66c6aed0737430aa9bdeb8ec64e3d9f (patch) | |
tree | a90c2b674a46d30b8c5bba59cd4000584089c7cb /flake.nix | |
parent | 3174341025787088358f5742bfc3e1e4e46fb9b8 (diff) |
The real initial commit
Diffstat (limited to 'flake.nix')
-rw-r--r-- | flake.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/flake.nix b/flake.nix new file mode 100644 index 0000000..915e9f5 --- /dev/null +++ b/flake.nix @@ -0,0 +1,27 @@ +{ + inputs = { + nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; + }; + + outputs = { self, nixpkgs, ... }: + let + pkgs = import nixpkgs { system = "x86_64-linux"; }; + in { + devShells.x86_64-linux.default = pkgs.mkShell { + buildInputs = with pkgs; [ + (python312.withPackages (python-pkgs: [ + python-pkgs.numpy + python-pkgs.matplotlib + python-pkgs.graphviz + ])) + + graphviz + ]; + + shellHook = '' + tmux -L autograd + exit + ''; + }; + }; +} |