We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df01a69 commit 0148e30Copy full SHA for 0148e30
pkgs/development/interpreters/python/mk-python-derivation.nix
@@ -425,19 +425,8 @@ let
425
# default to python's platforms
426
platforms = python.meta.platforms;
427
isBuildPythonPackage = python.meta.platforms;
428
- }
429
- //
430
- lib.optionalAttrs
431
- (
432
- attrs ? src
433
- && attrs.src ? meta
434
- && attrs.src.meta ? identifiers
435
- && attrs.src.meta.identifiers ? purlParts
436
- )
437
- {
438
- identifiers.purlParts = attrs.src.meta.identifiers.purlParts;
439
440
- // meta;
+ identifiers.purlParts = attrs.src.meta.identifiers.purlParts or {};
+ } // meta;
441
}
442
// optionalAttrs (attrs ? checkPhase) {
443
# If given use the specified checkPhase, otherwise use the setup hook.
0 commit comments