Modify poetryshell template
This commit is contained in:
parent
be88609dcc
commit
b773ce4a3d
|
@ -184,9 +184,9 @@ nix-mode
|
||||||
"let" n
|
"let" n
|
||||||
> "pkgs = import " (p "<nixpkgs>") " {};" n
|
> "pkgs = import " (p "<nixpkgs>") " {};" n
|
||||||
> "poetry2nix = (builtins.getFlake \"github:nix-community/poetry2nix\").lib.mkPoetry2Nix {inherit pkgs;};" n
|
> "poetry2nix = (builtins.getFlake \"github:nix-community/poetry2nix\").lib.mkPoetry2Nix {inherit pkgs;};" n
|
||||||
> "poetryEnv = with poetry2nix; let " n
|
> "poetryEnv = let " n
|
||||||
> "projectDir = " (p "./.") ";" n
|
> "projectDir = " (p "./.") ";" n
|
||||||
> "in (mkPoetryEnv rec {" n
|
> "in (poetry2nix.mkPoetryEnv rec {" n
|
||||||
> "inherit projectDir;" n
|
> "inherit projectDir;" n
|
||||||
> "overrides = poetry2nix.defaultPoetryOverrides;" n
|
> "overrides = poetry2nix.defaultPoetryOverrides;" n
|
||||||
> "python = " (p "pkgs.python3") ";" n
|
> "python = " (p "pkgs.python3") ";" n
|
||||||
|
|
Loading…
Reference in a new issue