Skip to content

Instantly share code, notes, and snippets.

@samueldr
Created August 2, 2019 21:08
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