summaryrefslogtreecommitdiff
path: root/nixhome/.config/nixpkgs/overlays/pythonEnv.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixhome/.config/nixpkgs/overlays/pythonEnv.nix')
-rw-r--r--nixhome/.config/nixpkgs/overlays/pythonEnv.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/nixhome/.config/nixpkgs/overlays/pythonEnv.nix b/nixhome/.config/nixpkgs/overlays/pythonEnv.nix
new file mode 100644
index 0000000..b60b455
--- /dev/null
+++ b/nixhome/.config/nixpkgs/overlays/pythonEnv.nix
@@ -0,0 +1,15 @@
+self: super: {
+ defaultPythonEnv = super.buildEnv {
+ name = "defaultPythonEnv";
+ paths = [
+ (self.python3.withPackages (
+ ps: with ps; [
+ ipython
+
+ # Math stuff
+ numpy scipy matplotlib
+ ]
+ ))
+ ];
+ };
+ }