Skip to content

Instantly share code, notes, and snippets.

@samueldr
Created August 1, 2018 22:47
Show Gist options
  • Save samueldr/26d57f6be00dc913aba1f74d720cbaf9 to your computer and use it in GitHub Desktop.
Save samueldr/26d57f6be00dc913aba1f74d720cbaf9 to your computer and use it in GitHub Desktop.
~/tmp/tmp $ ln -s $(which nix-build) awesome-nix-shell
~/tmp/tmp $ ln -s $(which nix-build) other
~/tmp/tmp $ ./other --help
~/tmp/tmp $ ./other --help | head -5
NIX-BUILD(1) Command Reference NIX-BUILD(1)
NAME
nix-build - build a Nix expression
~/tmp/tmp $ ./awesome-nix-shell --help | head -5
NIX-SHELL(1) Command Reference NIX-SHELL(1)
NAME
nix-shell - start an interactive shell based on a Nix expression
~/tmp/tmp $
@samueldr
Copy link
Author

samueldr commented Aug 1, 2018

~/tmp/tmp $ ln -s $(which nix-shell) what-am-i
~/tmp/tmp $ ./what-am-i --help | head -5
NIX-BUILD(1)                                                Command Reference                                               NIX-BUILD(1)
NAME
       nix-build - build a Nix expression

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment