-
-
Save samueldr/ced467c535cbf256093e13b243f21e44 to your computer and use it in GitHub Desktop.
This file contains 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-shell | |
#!nix-shell -p ruby | |
#!nix-shell -p python | |
#!nix-shell -p hello | |
#!nix-shell -i bash | |
for b in $buildInputs; do | |
echo $b | |
done |
This file contains 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-shell | |
#!nix-shell -i ruby | |
require "pp" | |
pp ENV["buildInputs"].split(" ") | |
# Wait what? | |
# The definition can be split??!? | |
#!nix-shell -p hello ruby | |
# vim: ft=ruby |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment