-
-
Save samueldr/ac2d49039a4af5b8f98b72857a6c9b14 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
let | |
pkgs = import <nixpkgs> {}; | |
in | |
pkgs.mkShell { | |
buildInputs = with pkgs; [ hello ]; | |
} |
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 ./test.nix -i bash | |
exec hello "$@" | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment