fixed UV
This commit is contained in:
parent
c9341c29c5
commit
2e15174052
1 changed files with 11 additions and 1 deletions
|
|
@ -44,6 +44,16 @@
|
||||||
--prefix LD_LIBRARY_PATH : "${gccLibPath}:${nvidiaLibPath}:${cudaLibPath}"
|
--prefix LD_LIBRARY_PATH : "${gccLibPath}:${nvidiaLibPath}:${cudaLibPath}"
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
custom-UV = pkgs.symlinkJoin {
|
||||||
|
name = "uv";
|
||||||
|
paths = [pkgs.uv];
|
||||||
|
buildInputs = [pkgs.makeWrapper];
|
||||||
|
postBuild = ''
|
||||||
|
wrapProgram $out/bin/uv \
|
||||||
|
--prefix LD_LIBRARY_PATH : "${gccLibPath}:${nvidiaLibPath}:${cudaLibPath}"
|
||||||
|
'';
|
||||||
|
};
|
||||||
in {
|
in {
|
||||||
options.python = {
|
options.python = {
|
||||||
enable = lib.mkEnableOption "System Python Environment";
|
enable = lib.mkEnableOption "System Python Environment";
|
||||||
|
|
@ -52,7 +62,7 @@ in {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
pythonEnv
|
pythonEnv
|
||||||
isort
|
isort
|
||||||
uv
|
custom-UV
|
||||||
git
|
git
|
||||||
stdenv.cc.cc.lib
|
stdenv.cc.cc.lib
|
||||||
python311
|
python311
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue