Skip to content

Commit

Permalink
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,14 @@
postShellHook = ''
'';

# Enable python libraries to discover libstdc++.so.6
LD_LIBRARY_PATH = with pkgs; lib.makeLibraryPath [ stdenv.cc.cc ];
LD_LIBRARY_PATH = with pkgs; lib.makeLibraryPath [
# Enable python libraries to discover libstdc++.so.6
stdenv.cc.cc

# FIXME: workaround for finding libcuda.so on non-NixOS systems
"/usr" # General location
"/usr/lib/wsl" # On WSL
];
};
});
}

0 comments on commit 846daca

Please sign in to comment.