add basant to devShell
This commit is contained in:
parent
9c4e0510b0
commit
a2935a5251
|
@ -29,11 +29,10 @@
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
python-with-my-packages
|
python-with-my-packages
|
||||||
pkgs.pandoc
|
pkgs.pandoc
|
||||||
|
self.packages.x86_64-linux.basant
|
||||||
];
|
];
|
||||||
shellHook = ''
|
shellHook = ''
|
||||||
PYTHONPATH=${python-with-my-packages}/${python-with-my-packages.sitePackages}
|
# 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'
|
|
||||||
# maybe set more env-vars
|
# maybe set more env-vars
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
@ -49,8 +48,8 @@
|
||||||
src = ./.;
|
src = ./.;
|
||||||
buildInputs = [ poonam.defaultPackage.${system} self.packages.${system}.basant ];
|
buildInputs = [ poonam.defaultPackage.${system} self.packages.${system}.basant ];
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
cp -r ${poonam.defaultPackage.${system}}/public/ ./
|
cp -r ${poonam.defaultPackage.${system}}/public/ ./
|
||||||
'';
|
'';
|
||||||
buildPhase = ''
|
buildPhase = ''
|
||||||
${self.packages.${system}.basant}/bin/main.py
|
${self.packages.${system}.basant}/bin/main.py
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue