add basant to devShell

main
Anish Lakhwara 2022-07-11 14:13:59 +10:00
parent 9c4e0510b0
commit a2935a5251
1 changed files with 4 additions and 5 deletions

View File

@ -29,11 +29,10 @@
buildInputs = [
python-with-my-packages
pkgs.pandoc
self.packages.x86_64-linux.basant
];
shellHook = ''
PYTHONPATH=${python-with-my-packages}/${python-with-my-packages.sitePackages}
# This only works when you have ~/vimwiki locally, since I'm not putting my unfiltered kitaab online
alias build='python3 src/kitaab-public/main.py'
# PYTHONPATH=${python-with-my-packages}/${python-with-my-packages.sitePackages}
# maybe set more env-vars
'';
};
@ -49,8 +48,8 @@
src = ./.;
buildInputs = [ poonam.defaultPackage.${system} self.packages.${system}.basant ];
configurePhase = ''
cp -r ${poonam.defaultPackage.${system}}/public/ ./
'';
cp -r ${poonam.defaultPackage.${system}}/public/ ./
'';
buildPhase = ''
${self.packages.${system}.basant}/bin/main.py
'';