summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
Diffstat (limited to 'shells')
-rw-r--r--shells/cuda.nix46
-rw-r--r--shells/default.nix13
2 files changed, 0 insertions, 59 deletions
diff --git a/shells/cuda.nix b/shells/cuda.nix
deleted file mode 100644
index 80cbc9b..0000000
--- a/shells/cuda.nix
+++ /dev/null
@@ -1,46 +0,0 @@
-{
- pkgs,
- lib,
-}: let
- nvidiaPackage = pkgs.linuxPackages_latest.nvidiaPackages.stable;
- libs = with pkgs; [
- # CUDA
- cudaPackages.cuda_cudart
- cudaPackages.cuda_nvcc
- cudaPackages.cuda_cccl
- cudaPackages.cudnn
- cudaPackages.nsight_compute
- cudatoolkit
- nvidiaPackage
-
- # OpenGL
- libGLU
- libGL
- freeglut
-
- # X11
- libxi
- libxmu
- libxext
- libx11
- libxv
- libxrandr
-
- # Dev Tools
- ffmpeg
- zlib
- gcc
- binutils
- ];
-in {
- packages = libs;
- LD_LIBRARY_PATH = lib.makeLibraryPath libs;
-
- shellHook = ''
- # Nvidia Driver setup
- export NVIDIA_VISIBLE_DEVICES=all
- export NVIDIA_DRIVER_CAPABILITIES=compute,utility
- export CUDA_VISIBLE_DEVICES=0
- export CUDA_PATH=${pkgs.cudatoolkit}
- '';
-}
diff --git a/shells/default.nix b/shells/default.nix
index 22a7ee3..2226294 100644
--- a/shells/default.nix
+++ b/shells/default.nix
@@ -11,19 +11,6 @@
];
};
- # Loads Nvidia CUDA
- cuda = pkgs.mkShell (import ./cuda.nix {
- pkgs = import inputs.nixpkgs {
- inherit system;
- config = {
- allowUnfree = true;
- cudaSupport = true;
- cudaVersion = "12";
- };
- };
- lib = inputs.nixpkgs.lib;
- });
-
# VST development with windows VST3 support though yabridge/wine
vst = pkgs.mkShell (import ./vst.nix {
pkgs = import inputs.nixpkgs {