File tree Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Expand file tree Collapse file tree 2 files changed +22
-2
lines changed Original file line number Diff line number Diff line change 3737 } ;
3838 overlays = [
3939 ( final : prev : {
40- onnxruntime = final . callPackage /home/das/Downloads/nixpkgs/pkgs/by-name/on/onnxruntime/package.nix { } ;
40+ onnxruntime = final . callPackage /home/das/Downloads/nixpkgs/pkgs/by-name/on/onnxruntime/package.nix {
41+ rocmSupport = true ;
42+ rcclSupport = true ;
43+ } ;
44+ python313Packages = prev . python313Packages . override ( old : {
45+ overrides = prev . lib . composeManyExtensions [
46+ ( final : prev : {
47+ onnxruntime = final . callPackage /home/das/Downloads/nixpkgs/pkgs/development/python-modules/onnxruntime/default.nix {
48+ onnxruntime = final . onnxruntime ; # Use the overlay version
49+ } ;
50+ } )
51+ old . overrides or ( final : prev : { } )
52+ ] ;
53+ } ) ;
4154 } )
4255 ] ;
4356 } ;
Original file line number Diff line number Diff line change 5858 #CHROME_EXECUTABLE = "/etc/profiles/per-user/das/bin/google-chrome-stable";
5959 CHROME_EXECUTABLE = "${ pkgs . google-chrome } /bin/google-chrome-stable" ;
6060 GOOGLE_APPLICATION_CREDENTIALS = "~/Downloads/dashboard-dev-3da32-83d127a0f9ba.json" ;
61+
62+ # Python path for onnxruntime
63+ PYTHONPATH = "${ pkgs . python313Packages . onnxruntime } /lib/python3.13/site-packages" ;
6164 } ;
6265
6366 home . packages = with pkgs ; [
130133
131134 # Scripting/Utils
132135 perl
133- python314
136+ python313
134137 gawk
135138 jq
136139 git
451454
452455 # Custom onnxruntime package
453456 onnxruntime
457+
458+ # Custom Python onnxruntime module
459+ python313Packages . onnxruntime
454460 ] ;
455461
456462 # vscode
506512 } ;
507513 } ;
508514
515+
509516 programs . vim = {
510517 enable = true ;
511518 plugins = with pkgs . vimPlugins ; [ vim-airline ] ;
You can’t perform that action at this time.
0 commit comments