I’m finally trying to build package in Nixos, and for sure I didn’t achieve my goal yet. Is is possible to have some help?
My goal is to update the ‘Lektor’ package, and to build the “admin” panel.
The Lektor is a python package, and for the moment the buildPythonPackage is use in the nixpkgs. I easily update the version, and it seems to work well.
The second part is more complex, my goal is to execute these two lines of code :
npm install . npm run webpack
in the lektor/admin repository. So yes, I need to run nodejs during a python installation, and I don’t know how to achieve it.
I play a little with the different phase (postConfigure and pre/postBuild), and try to execute
nix-shell but I don’t really understand what I’m doing, so it is not working.
Is it possible to have some clues? (or even the solution ).
I imagine that must be possible in the “postBuild” to execute some command on the $out folder?
Thank you in advance,