add basant to devShell
This commit is contained in:
parent
9c4e0510b0
commit
a2935a5251
|
@ -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
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue