nixos/system/home/emacs/templates
Evie Litherland-Smith e6873dbd77 Add pyshell.nix helper function for making wrapped python shells
Just import, optionally changing python version or adding extra
packages (e.g. poetry) to the shell

Update default python env

Remove pyshell template from Emacs templates due to new change
2024-12-17 11:54:22 +00:00

17 lines
361 B
Plaintext

nix-mode
(fhsenv "let" n
> "pkgs = import " (p "<nixpkgs>") " { };" n
> "fhs = pkgs.buildFHSUserEnv {" n
> "name = \"" (p "env") "\";" n
> "targetPkgs = _: [ " q " ];" n
> "profile = \"\";" n
> "};" n
"in" n
> "fhs.env")
;; Local Variables:
;; mode: lisp-data
;; outline-regexp: "[a-z]"
;; End: