From 276ad03e9aaaf342c1ccc949c58c0fa5fbc63fa9 Mon Sep 17 00:00:00 2001 From: purepani Date: Mon, 16 Oct 2023 16:52:05 -0500 Subject: [PATCH] fix(pdm): Make parsed_deps lowercase --- modules/dream2nix/WIP-python-pdm/lib.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/dream2nix/WIP-python-pdm/lib.nix b/modules/dream2nix/WIP-python-pdm/lib.nix index 8e586f257e..dfb2e37df7 100644 --- a/modules/dream2nix/WIP-python-pdm/lib.nix +++ b/modules/dream2nix/WIP-python-pdm/lib.nix @@ -173,9 +173,12 @@ isUsableFilename {inherit environ filename;} ) sources; - parsedDeps = ( + parsedDeps = with lib.trivial; ( map - libpyproject.pep508.parseString + ((flip pipe) [ + lib.strings.toLower + libpyproject.pep508.parseString + ]) item.dependencies or [] ); value = {