1

rename flakes to env

This commit is contained in:
2022-11-23 14:23:55 +01:00
parent ca82e66763
commit 301907d8f1
2 changed files with 0 additions and 0 deletions

37
env/python.nix vendored Normal file
View File

@ -0,0 +1,37 @@
{
description = "";
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
inputs.flake-utils.url = "github:numtide/flake-utils";
inputs.devshell.url = "github:numtide/devshell";
outputs = { self, nixpkgs, flake-utils, devshell }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = import nixpkgs {
inherit system;
config.allowUnfree = true;
overlays = [ devshell.overlay ];
};
myPython = pkgs.python310.withPackages (p: with p; [
]);
in {
devShell = pkgs.devshell.mkShell {
name = "";
packages = with pkgs; [
myPython
];
# Use $1 for positional args
commands = [
# {
# name = "";
# help = "";
# command = "";
# }
];
};
});
}