Run some code after nix environment is ready

Hello! I have the following replit.nix file:

I want to add simple test code that runs echo 'Nix is ready!' command after everything is set up with Nix. How to do that?

In real task I want run npm install after all project tools for development are installed.

You are viewing a single comment. View All

@Saml2020 thanks, but I thought that there is any way to do the same in replit.nix file to hide installation steps from user. :)