Add nix-shell poetry template
This commit is contained in:
parent
96f618020b
commit
88e15182c6
|
@ -177,6 +177,15 @@ nix-mode
|
|||
(p (completing-read "Platform: " '("all" "allBut" "arm" "cygwin" "darwin" "freebsd" "gnu" "i686" "illumos" "linux" "mesaPlatforms" "mips" "netbsd" "none" "openbsd" "unix" "x86"))) ";" n> q "};" n> "}"
|
||||
)
|
||||
|
||||
(poetryshell "let"
|
||||
n> "pkgs = import (builtins.getFlake \"github:nixos/nixpkgs" (p "/23.11")"\") {};"
|
||||
n> "poetry2nix = (builtins.getFlake \"github:nix-community/poetry2nix\").lib.mkPoetry2Nix {inherit pkgs;};"
|
||||
n> "in"
|
||||
n> "pkgs.mkShellNoCC {"
|
||||
n> "packages = [" p "];"
|
||||
n> "}")
|
||||
(poetrypackage "") ; TODO
|
||||
|
||||
python-base-mode
|
||||
|
||||
(clss "class " (p "Class") "(" p "):"
|
||||
|
|
Loading…
Reference in a new issue