Commit d6a757bb authored by Yueh-Shun Li's avatar Yueh-Shun Li
Browse files

buildPython*: prioritize user-specified passthru attrs

parent 8def3ffa
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -400,13 +400,12 @@ let
          {
            inherit disabled;
          }
          // attrs.passthru or { }
          // {
            updateScript =
              let
                filename = head (splitString ":" self.meta.position);
              in
              attrs.passthru.updateScript or [
              [
                update-python-libraries
                filename
              ];
@@ -419,7 +418,8 @@ let
          }
          // optionalAttrs (build-system != [ ]) {
            inherit build-system;
          };
          }
          // attrs.passthru or { };

        meta = {
          # default to python's platforms