Skip to content

Instantly share code, notes, and snippets.

@steshaw
Created May 17, 2023 00:38
Show Gist options
  • Save steshaw/3e6f5f0e7535f143e0bf177eccc64f23 to your computer and use it in GitHub Desktop.
Save steshaw/3e6f5f0e7535f143e0bf177eccc64f23 to your computer and use it in GitHub Desktop.
{ pkgs ? import <nixpkgs> {} }:
(pkgs.buildFHSUserEnv {
name = "python-fhs-shell";
targetPkgs = pkgs: (with pkgs; [
(python3.withPackages(pp: [pp.pip]))
# python39Packages.pip
# python39Packages.virtualenv
#cudaPackages.cudatoolkit_11
]);
runScript = "bash";
}).env
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment