Skip to content

Instantly share code, notes, and snippets.

@samueldr
Created August 2, 2019 21:08
Show Gist options
  • Save samueldr/ac2d49039a4af5b8f98b72857a6c9b14 to your computer and use it in GitHub Desktop.
Save samueldr/ac2d49039a4af5b8f98b72857a6c9b14 to your computer and use it in GitHub Desktop.
let
pkgs = import <nixpkgs> {};
in
pkgs.mkShell {
buildInputs = with pkgs; [ hello ];
}
#!/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