Skip to content

Instantly share code, notes, and snippets.

@dustinlacewell-wk
Created February 23, 2018 21:30
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dustinlacewell-wk/c7bae69c700253be0e46f64fdec6d56e to your computer and use it in GitHub Desktop.
Save dustinlacewell-wk/c7bae69c700253be0e46f64fdec6d56e to your computer and use it in GitHub Desktop.
#! /usr/bin/env nix-shell
#! nix-shell -i python27 shell.nix
print "Hello world"
with import <nixpkgs> {};
stdenv.mkDerivation rec {
name = "env";
env = buildEnv { name = name; paths = buildInputs; };
buildInputs = [
python
python27Packages.virtualenv
python27Packages.pip
libffi
openssl
moreutils
ruby
curl
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment