mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-12-22 14:01:41 +03:00
Adds uv resolver for pdm
This commit is contained in:
parent
1a5e625de7
commit
993ca8de94
@ -78,6 +78,7 @@ in {
|
||||
jq
|
||||
mkShell
|
||||
pdm
|
||||
uv
|
||||
runCommand
|
||||
stdenvNoCC
|
||||
stdenv
|
||||
|
@ -6,6 +6,7 @@
|
||||
}: let
|
||||
pdmConfig = config.deps.writeText "pdm-config.toml" ''
|
||||
check_update = false
|
||||
use_uv = true
|
||||
[python]
|
||||
use_venv = false
|
||||
'';
|
||||
@ -18,6 +19,7 @@
|
||||
config.deps.coreutils
|
||||
config.deps.pdm
|
||||
config.deps.yq
|
||||
config.deps.uv
|
||||
]}"
|
||||
export TMPDIR=$(${config.deps.coreutils}/bin/mktemp -d)
|
||||
trap "${config.deps.coreutils}/bin/chmod -R +w '$TMPDIR'; ${config.deps.coreutils}/bin/rm -rf '$TMPDIR'" EXIT
|
||||
|
Loading…
Reference in New Issue
Block a user