Last active
September 3, 2024 03:25
-
-
Save rseward/f15a9820daf6b2046db2e6850932e693 to your computer and use it in GitHub Desktop.
Python 3.10 ML nix-shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# export NIXPKGS_ALLOW_UNFREE=1 | |
{ pkgs ? import <nixpkgs> { } }: | |
(pkgs.buildFHSUserEnv { | |
name = "pipzone"; | |
targetPkgs = pkgs: (with pkgs; [ | |
stdenv | |
portaudio | |
pkg-config | |
binutils | |
glibc | |
gcc | |
gfortran | |
gfortran.cc | |
python310 | |
python310Packages.sounddevice | |
python310Packages.pip | |
python310Packages.virtualenv | |
cudaPackages.cudatoolkit | |
]); | |
runScript = "bash"; | |
}).env |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I can now find gcc, however a g++ fails to compile a small program such as this. :-(
test_g++.sh