Skip to content

Instantly share code, notes, and snippets.

@RonnyPfannschmidt
Created January 22, 2017 20:33
Show Gist options
  • Save RonnyPfannschmidt/9d535d37566cbeedf023508aaa9f644b to your computer and use it in GitHub Desktop.
Save RonnyPfannschmidt/9d535d37566cbeedf023508aaa9f644b to your computer and use it in GitHub Desktop.
#!/run/current-system/sw/bin/env nix-shell
#! nix-shell -f script_env.nix -i python3 -p python3
import click
@click.command()
def test():
print("hi")
with import <nixpkgs> {};
python3.withPackages (ps: [ps.click])
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment