Skip to content

Commit

Permalink
Merge pull request #1067 from purepani/push-tpsnkulpkxxk
Browse files Browse the repository at this point in the history
Adds uv resolver for pdm
  • Loading branch information
phaer authored Oct 26, 2024
2 parents c693547 + 993ca8d commit 7acdae7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
12 changes: 6 additions & 6 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions modules/dream2nix/WIP-python-pdm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ in {
jq
mkShell
pdm
uv
runCommand
stdenvNoCC
stdenv
Expand Down
2 changes: 2 additions & 0 deletions modules/dream2nix/WIP-python-pdm/lock.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
}: let
pdmConfig = config.deps.writeText "pdm-config.toml" ''
check_update = false
use_uv = true
[python]
use_venv = false
'';
Expand All @@ -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
Expand Down

0 comments on commit 7acdae7

Please sign in to comment.