Nix-shell shebang: Difference between revisions

imported>Milahu
add links: Speeding up nix-shell shebang, cached-nix-shell
imported>Milahu
add section: Performance
Line 67: Line 67:
echo hello world
echo hello world
</syntaxHighlight>
</syntaxHighlight>
== Performance ==
TODO ... why the startup delay? how to make it faster?
* [https://discourse.nixos.org/t/speeding-up-nix-shell-shebang/4048 Speeding up nix-shell shebang]
* [https://github.com/xzfc/cached-nix-shell cached-nix-shell] - Instant startup time for nix-shell


== See also ==
== See also ==
Line 74: Line 81:
* [https://gist.github.com/travisbhartwell/f972aab227306edfcfea nix-shell and Shebang Lines]
* [https://gist.github.com/travisbhartwell/f972aab227306edfcfea nix-shell and Shebang Lines]
* [https://notes.yukiisbo.red/posts/2021/07/Spice_up_with_Nix_Scripts.html Spice up with Nix: Scripts with magical dependencies]
* [https://notes.yukiisbo.red/posts/2021/07/Spice_up_with_Nix_Scripts.html Spice up with Nix: Scripts with magical dependencies]
* [https://discourse.nixos.org/t/speeding-up-nix-shell-shebang/4048 Speeding up nix-shell shebang]
* [https://github.com/xzfc/cached-nix-shell cached-nix-shell] - Instant startup time for nix-shell