2024-09-26 10:46:15 +02:00
|
|
|
{ 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
|
2024-09-27 12:11:59 +02:00
|
|
|
zlib
|
2024-09-26 10:46:15 +02:00
|
|
|
];
|
|
|
|
|
|
|
|
shellHook = ''
|
|
|
|
export LD_LIBRARY_PATH="${pkgs.stdenv.cc.cc.lib}/lib";
|
2024-09-27 12:11:59 +02:00
|
|
|
export LD_LIBRARY_PATH="${pkgs.zlib}/lib:$LD_LIBRARY_PATH";
|
2024-09-30 12:24:26 +02:00
|
|
|
alias hin="pipenv run python main.py; notify-send -u normal -a 'Hin' 'finished'"
|
2024-09-26 10:46:15 +02:00
|
|
|
'';
|
|
|
|
}
|