~ruther/nixos-config

9312f0b04d2772386682ad312ae2cf78b3f7c045 — Frantisek Bohacek 1 year, 6 months ago 1e7f998
chore: remove shells
1 files changed, 0 insertions(+), 18 deletions(-)

D shells/python.nix
D shells/python.nix => shells/python.nix +0 -18
@@ 1,18 0,0 @@
{ pkgs ? import <nixpkgs> {} }:

pkgs.mkShell {
  packages = with pkgs; [
    (pkgs.python3.withPackages (ps: [
      ps.pip
      ps.tkinter
    ]))
    python-language-server
    poetry # Instead of pip, you can use $ poetry init -n --name <name> and $ poetry add request <package> to install python packages
  ];
  shellHook = ''
    export PIP_PREFIX=$(pwd)/_build/pip_packages
    export PYTHONPATH="$PIP_PREFIX/${pkgs.python3.sitePackages}:$PYTHONPATH"
    export PATH="$PIP_PREFIX/bin:$PATH"
    unset SOURCE_DATE_EPOCH
  '';
}

Do not follow this link