mirror of
https://github.com/nix-community/dream2nix.git
synced 2024-11-29 23:35:33 +03:00
pdm: sort extras before making the key
...otherwise we seem to get them in the order they are declared in in pyproject.toml, which seemingly might not be the same as in the lock file where they are sorted
This commit is contained in:
parent
91bec8a085
commit
c554f54834
@ -196,7 +196,7 @@
|
||||
mkExtrasKey = dep @ {extras ? [], ...}:
|
||||
if extras == []
|
||||
then "default"
|
||||
else lib.concatStringsSep "," extras;
|
||||
else lib.concatStringsSep "," (lib.naturalSort extras);
|
||||
|
||||
# Constructs dependency entry for internal use.
|
||||
# We could use the pyproject.nix representation directly instead, but it seems
|
||||
|
Loading…
Reference in New Issue
Block a user