Created
November 25, 2025 16:27
-
-
Save escherlies/eeda7564b406c9097e8359dda12f17fe to your computer and use it in GitHub Desktop.
Bun Script with Nix Shebang Interpreter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #! /usr/bin/env nix | |
| /* | |
| #! nix shell nixpkgs#bun --command bun | |
| */ | |
| console.log("Hello from Bun! 🥟") | |
| // See https://nix.dev/manual/nix/2.28/command-ref/new-cli/nix.html?highlight=shebang#shebang-interpreter |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://nix.dev/manual/nix/2.28/command-ref/new-cli/nix.html?highlight=shebang#shebang-interpreter