Modify poetryshell template
This commit is contained in:
parent
be88609dcc
commit
b773ce4a3d
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue