update shell.nix
This commit is contained in:
parent
ef28791bd3
commit
5943fd5dd8
18
shell.nix
18
shell.nix
|
@ -2,22 +2,18 @@
|
||||||
pkgs.mkShell
|
pkgs.mkShell
|
||||||
{
|
{
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
python312Packages.flask
|
|
||||||
python312Packages.flask-cors
|
|
||||||
python312Packages.requests
|
|
||||||
python312Packages.pandas
|
|
||||||
python312Packages.orjson
|
|
||||||
hugo
|
hugo
|
||||||
tmux
|
python311
|
||||||
mongodb-tools
|
poetry
|
||||||
python312Packages.uvicorn
|
|
||||||
python312Packages.fastapi
|
|
||||||
python312Packages.pymongo
|
|
||||||
];
|
];
|
||||||
|
|
||||||
|
NIX_LD_LIBRARY_PATH=/run/current-system/sw/share/nix-ld/lib;
|
||||||
|
NIX_LD=/run/current-system/sw/share/nix-ld/lib/ld.so;
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
${pkgs.cowsay}/bin/cowsay "Welcome to the baseddata.io development environment!" | ${pkgs.lolcat}/bin/lolcat
|
${pkgs.cowsay}/bin/cowsay "Welcome to the baseddata.io development environment!" | ${pkgs.lolcat}/bin/lolcat
|
||||||
|
export LD_LIBRARY_PATH=$NIX_LD_LIBRARY_PATH
|
||||||
|
source .env
|
||||||
|
source .venv/bin/activate
|
||||||
get_session=$(tmux list-session | grep "baseddata")
|
get_session=$(tmux list-session | grep "baseddata")
|
||||||
|
|
||||||
if [ -z "$get_session" ];
|
if [ -z "$get_session" ];
|
||||||
|
|
Loading…
Reference in New Issue