/test.nix Secret
Created
August 2, 2019 21:08
This file contains hidden or 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 hidden or 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