hin/shell.nix
WanderingPenwing 5ddeb26891 groq api
2024-09-30 12:24:26 +02:00

18 lines
485 B
Nix

{ pkgs ? import <nixpkgs> { overlays = [ (import (builtins.fetchTarball https://github.com/mozilla/nixpkgs-mozilla/archive/master.tar.gz)) ]; },}:
with pkgs;
mkShell {
buildInputs = [
pipenv
python3
stdenv.cc.cc.lib
zlib
];
shellHook = ''
export LD_LIBRARY_PATH="${pkgs.stdenv.cc.cc.lib}/lib";
export LD_LIBRARY_PATH="${pkgs.zlib}/lib:$LD_LIBRARY_PATH";
alias hin="pipenv run python main.py; notify-send -u normal -a 'Hin' 'finished'"
'';
}