1
0
forked from clan/clan-core

devshells: cleanup

This commit is contained in:
DavHau 2024-03-02 11:55:15 +07:00
parent 8e9053cf80
commit f7bb5d7aaf
2 changed files with 3 additions and 5 deletions

View File

@ -76,7 +76,6 @@
export PATH="$tmp_path/python/bin:$PATH"
export PYTHONPATH="''${PYTHONPATH:+$PYTHONPATH:}$tmp_path/python/${pythonWithDeps.sitePackages}"
# export PYTHONPATH="$tmp_path/python/${pythonWithDeps.sitePackages}"
for package in "''${localPackages[@]}"; do
export PYTHONPATH="$package:$PYTHONPATH"

View File

@ -13,9 +13,9 @@
green = ''\033[32m'';
};
# a python program using argparse to enable and disable dev shells
# synopsis: select-shell enable|disable shell-name
# enabled devshells are written as a newline separated list into ./.direnv/selected-shells
# A python program to switch between dev-shells
# usage: select-shell shell-name
# the currently enabled dev-shell gets stored in ./.direnv/selected-shell
select-shell = writers.writePython3Bin "select-shell"
{
flakeIgnore = [ "E501" ];
@ -23,7 +23,6 @@
in
{
devShells.default = pkgs.mkShell {
# inputsFrom = [ self'.devShells.python ];
packages = [
select-shell
pkgs.tea