26 lines
391 B
Plaintext
26 lines
391 B
Plaintext
==================
|
|
nix-shell with a bash payload
|
|
==================
|
|
|
|
#!/usr/bin/env nix-shell
|
|
#!nix-shell -i bash
|
|
echo "hello, world!"
|
|
---
|
|
|
|
(source_file
|
|
(first_line
|
|
(shebang_open)
|
|
(opt_ws)
|
|
(env)
|
|
(ws)
|
|
(nix_shell))
|
|
(next_line
|
|
(newline)
|
|
(annotation_line
|
|
(shebang_open)
|
|
(opt_ws)
|
|
(nix_shell)
|
|
(nix_shell_args)))
|
|
(next_line
|
|
(newline)))
|