Modify poetryshell template

This commit is contained in:
Evie Litherland-Smith 2024-06-16 11:36:30 +01:00
parent be88609dcc
commit b773ce4a3d

View file

@ -184,9 +184,9 @@ nix-mode
"let" n
> "pkgs = import " (p "<nixpkgs>") " {};" n
> "poetry2nix = (builtins.getFlake \"github:nix-community/poetry2nix\").lib.mkPoetry2Nix {inherit pkgs;};" n
> "poetryEnv = with poetry2nix; let " n
> "poetryEnv = let " n
> "projectDir = " (p "./.") ";" n
> "in (mkPoetryEnv rec {" n
> "in (poetry2nix.mkPoetryEnv rec {" n
> "inherit projectDir;" n
> "overrides = poetry2nix.defaultPoetryOverrides;" n
> "python = " (p "pkgs.python3") ";" n