Cleanup shell.nix and .envrc
This commit is contained in:
6
.envrc
6
.envrc
@@ -1,11 +1,5 @@
|
||||
use nix
|
||||
|
||||
# Run poetry install if there's not a virtualenv already.
|
||||
# if [[ ! -d .venv ]]; then
|
||||
# echo "No virtualenv found, installing dependencies using Poetry..."
|
||||
# poetry install -E chromecast -E keyring -E server
|
||||
# fi
|
||||
|
||||
# Activate the virtualenv
|
||||
source .venv/bin/activate
|
||||
|
||||
|
@@ -40,6 +40,8 @@ pkgs.mkShell {
|
||||
export LD_LIBRARY_PATH=${pkgs.mpv}/lib
|
||||
export XDG_DATA_DIRS="$GSETTINGS_SCHEMA_PATH:${pkgs.arc-theme}/share:${pkgs.arc-icon-theme}/share"
|
||||
export SOURCE_DATE_EPOCH=315532800
|
||||
|
||||
# An update happened to the shell.nix, so remove and reinstall everything in the virtualenv
|
||||
rm -rf .venv
|
||||
poetry install -E chromecast -E keyring -E server
|
||||
set +x
|
||||
|
Reference in New Issue
Block a user