File tree 2 files changed +10
-3
lines changed
2 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -221,6 +221,16 @@ lib.makeScope pkgs.newScope (self: {
221
221
getFunctorFn
222
222
(
223
223
[
224
+ # Remove Python packages aliases with non-normalized names to avoid issues with infinite recursion (issue #750).
225
+ ( self : super : lib . attrsets . mapAttrs
226
+ (
227
+ name : value :
228
+ if lib . isDerivation value && self . hasPythonModule value && ( normalizePackageName name ) != name
229
+ then null
230
+ else value
231
+ )
232
+ super )
233
+
224
234
(
225
235
self : super :
226
236
{
Original file line number Diff line number Diff line change 59
59
60
60
in
61
61
lib . composeManyExtensions [
62
- # normalize all the names
63
- ( self : super : poetryLib . normalizePackageSet super )
64
-
65
62
# NixOps
66
63
( self : super :
67
64
lib . mapAttrs ( _ : v : addBuildSystem { inherit self ; drv = v ; attr = "poetry" ; } ) ( lib . filterAttrs ( n : _ : lib . strings . hasPrefix "nixops" n ) super )
You can’t perform that action at this time.
0 commit comments