You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In that case, the best thing is to put the scripts in a ./bin or ./scripts folder in your project. Then only use Nix and devshell to bring the dependencies (eg: curl, jq, ...) as @deemp described.
Activity
deemp commentedon Jan 13, 2024
IDK what's you use case. Please, describe it in more details.
Currently, you can create a script file:
Then, in
devshell.toml(this repo uses this file for the default devshell), create a command that runs that file:Now, you can run
$ hello hello!justinabrahms commentedon Jan 14, 2024
I think that will work for me.
I'm not sure what else to say about the use cases.
zimbatm commentedon Jan 14, 2024
In that case, the best thing is to put the scripts in a ./bin or ./scripts folder in your project. Then only use Nix and devshell to bring the dependencies (eg: curl, jq, ...) as @deemp described.