Skip to content

Instantly share code, notes, and snippets.

@0xperp
Last active August 29, 2022 01:37
Show Gist options
  • Save 0xperp/c5d3f33d553d47e7360928f277d1a48f to your computer and use it in GitHub Desktop.
Save 0xperp/c5d3f33d553d47e7360928f277d1a48f to your computer and use it in GitHub Desktop.
mach-nix shell base
let
mach-nix = import (builtins.fetchGit {
url = "https://github.com/DavHau/mach-nix";
ref = "refs/tags/3.4.0";
}) {
python = "python39";
pypiData = builtins.fetchTarball "https://github.com/DavHau/pypi-deps-db/tarball/master";
# August 28 2022 Commit
# pypiDataRev = "65195091a39d5ea4d9843923ed1a14a6fd280036";
# pypiDataSha256 = "1wh0ql0m7g7ivyh188c9blvmvz5qd6448b7hilzqlb7y3z6b8mja";
};
in
mach-nix.mkPythonShell {
requirements = builtins.readFile ./requirements.txt;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment