Skip to content

Instantly share code, notes, and snippets.

@mtn

mtn/shell.nix Secret

Last active June 10, 2020 03:35
Show Gist options
  • Save mtn/5779479e946d3c25bdab348c609eba22 to your computer and use it in GitHub Desktop.
Save mtn/5779479e946d3c25bdab348c609eba22 to your computer and use it in GitHub Desktop.
with import (builtins.fetchGit {
name = "nixos-20-03-2020-06-09";
url = "https://github.com/nixos/nixpkgs-channels/";
ref = "refs/heads/nixos-20.03";
rev = "70717a337f7ae4e486ba71a500367cad697e5f09";
}) {};
let
py = pkgs.python37;
in
stdenv.mkDerivation rec {
name = "python-environment";
buildInputs = [
py
py.pkgs.tensorflow-bin_2
];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment