2 ms·
> There is still the issue of the proper interpreter actually being installed, however. Yeah, that's what I mean with "make it easy". The script header should
by flohofwoe 2y ago
> There is still the issue of the proper interpreter actually being installed, however.
Yeah, that's what I mean with "make it easy". The script header should announce requirements (like what language and language version it is written in, and the shell should be able to ensure those requirements before running the script - without ignoring security aspects of course). E.g. every script should be able to bootstrap itself, no matter what programming language is used (and that might even include compiled languages).
- poincaredisk 2y agoThis is already possible with #!/usr/bin/env nix-shell