Skip to content

dingtalk: init linux at 8.1.0.6021101 and darwin at 8.2.10#431371

Closed
Nyxvectar wants to merge 1 commit intoNixOS:masterfrom
Nyxvectar:master
Closed

dingtalk: init linux at 8.1.0.6021101 and darwin at 8.2.10#431371
Nyxvectar wants to merge 1 commit intoNixOS:masterfrom
Nyxvectar:master

Conversation

@Nyxvectar
Copy link

@Nyxvectar Nyxvectar commented Aug 6, 2025

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@nixpkgs-ci nixpkgs-ci bot added the 12.first-time contribution This PR is the author's first one; please be gentle! label Aug 6, 2025
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Aug 6, 2025
Copy link
Contributor

@acid-bong acid-bong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Evening and welcome to Nixpkgs. Here's a couple notes.

And a general one: in this PR only two commits should remain, new maintainer and, after it, new package.

@nixpkgs-ci nixpkgs-ci bot removed the 9.needs: reviewer This PR currently has no reviewers requested and needs attention. label Aug 6, 2025
@Nyxvectar Nyxvectar force-pushed the master branch 3 times, most recently from 4cb7b5f to 6450d7f Compare August 7, 2025 00:55
@Nyxvectar Nyxvectar requested a review from acid-bong August 7, 2025 01:25
@Nyxvectar
Copy link
Author

Evening and welcome to Nixpkgs. Here's a couple notes.

And a general one: in this PR only two commits should remain, new maintainer and, after it, new package.

Thank you for your welcome. I have kept the necessary two commits, though I forced pushed so many times (laugh

@acid-bong
Copy link
Contributor

acid-bong commented Aug 7, 2025

The first commit's title should be "maintainers: add nyxvectar", no @

@Nyxvectar Nyxvectar force-pushed the master branch 4 times, most recently from 256707c to 8f1ee59 Compare August 7, 2025 04:30
Copy link
Author

@Nyxvectar Nyxvectar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The first commit's title should be "maintainers: add nyxvectar", no @

Done.

@nixpkgs-ci nixpkgs-ci bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Sep 8, 2025
@dvorak0
Copy link

dvorak0 commented Sep 15, 2025

@Nyxvectar Thanks for your PR at first. I hope to know if the package is already working and ready to merge? From my side, I'm not with the unstable branch but nixos-24.04 (https://github.com/dvorak0/nixpkgs/tree/nixos-24.05-dingtalk), I cherry-pick the commit and found it's failed to build it.

Any advance on this issue would be super helpful to me. Thanks.

setting RPATH to: /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk:/nix/store/xc9l92rl3ndvhwi8a6yj01icn1d8vfp9-libGL-1.7.0/lib:/nix/store/m4r9jmsvgv8k0vsb72vkq91667yjdf9h-libxkbcommon-1.7.0/lib:/build/root/opt/apps/com.alibabainc.dingtalk/files/7.6.45-Release.5062501:/nix/store/dd13q38yxm9qppjclsvwn10dscsf0l9w-gcc-13.2.0-libgcc/lib
auto-patchelf: 16 dependencies could not be satisfied
error: auto-patchelf could not satisfy dependency libcrypt.so.1 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libaprutil-1.so.0
error: auto-patchelf could not satisfy dependency libgcrypt.so.20 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libssh2.so.1
error: auto-patchelf could not satisfy dependency librtmp.so.1 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libcurl.so.4
error: auto-patchelf could not satisfy dependency libcom_err.so.2 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libcurl.so.4
error: auto-patchelf could not satisfy dependency libldap_r-2.4.so.2 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libcurl.so.4
error: auto-patchelf could not satisfy dependency liblber-2.4.so.2 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libcurl.so.4
error: auto-patchelf could not satisfy dependency libGLU.so.1 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libgdkglext-x11-1.0.so.0
error: auto-patchelf could not satisfy dependency libXmu.so.6 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libgdkglext-x11-1.0.so.0
error: auto-patchelf could not satisfy dependency libpangox-1.0.so.0 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libgdkglext-x11-1.0.so.0
error: auto-patchelf could not satisfy dependency libGLU.so.1 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libgtkglext-x11-1.0.so.0
error: auto-patchelf could not satisfy dependency libXmu.so.6 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libgtkglext-x11-1.0.so.0
error: auto-patchelf could not satisfy dependency libpangox-1.0.so.0 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libgtkglext-x11-1.0.so.0
error: auto-patchelf could not satisfy dependency libcrypt.so.1 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libapr-1.so.0
error: auto-patchelf could not satisfy dependency libGLU.so.1 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libgtkglext-x11-1.0.so
error: auto-patchelf could not satisfy dependency libXmu.so.6 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libgtkglext-x11-1.0.so
error: auto-patchelf could not satisfy dependency libpangox-1.0.so.0 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libgtkglext-x11-1.0.so
auto-patchelf failed to find all the required dependencies.
Add the missing dependencies to --libs or use `--ignore-missing="foo.so.1 bar.so etc.so"`.
error: builder for '/nix/store/r4ijcx1zzyaxnhycy61g58x07vk2bk7c-dingtalk-7.6.45.5062501.drv' failed with exit code 1;
       last 10 log lines:
       > error: auto-patchelf could not satisfy dependency libpangox-1.0.so.0 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libgdkglext-x11-1.0.so.0
       > error: auto-patchelf could not satisfy dependency libGLU.so.1 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libgtkglext-x11-1.0.so.0
       > error: auto-patchelf could not satisfy dependency libXmu.so.6 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libgtkglext-x11-1.0.so.0
       > error: auto-patchelf could not satisfy dependency libpangox-1.0.so.0 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libgtkglext-x11-1.0.so.0
       > error: auto-patchelf could not satisfy dependency libcrypt.so.1 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libapr-1.so.0
       > error: auto-patchelf could not satisfy dependency libGLU.so.1 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libgtkglext-x11-1.0.so
       > error: auto-patchelf could not satisfy dependency libXmu.so.6 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libgtkglext-x11-1.0.so
       > error: auto-patchelf could not satisfy dependency libpangox-1.0.so.0 wanted by /nix/store/h3mnnxg6z1ixba6zcdivfa79b08a4lkj-dingtalk-7.6.45.5062501/app/dingtalk/libgtkglext-x11-1.0.so
       > auto-patchelf failed to find all the required dependencies.
       > Add the missing dependencies to --libs or use `--ignore-missing="foo.so.1 bar.so etc.so"`.
       For full logs, run 'nix-store -l /nix/store/r4ijcx1zzyaxnhycy61g58x07vk2bk7c-dingtalk-7.6.45.5062501.drv'.

@Nyxvectar
Copy link
Author

@dvorak0 Thank you so much for reviewing the PR and highlighting the build issues. I'll try to make time to investigate and address these problems, though due to current academic commitments, it might take a while to deliver a fix. I appreciate your patience! If you’re interested in helping move this pull request forward, I’d be very happy to support however possible.

@Nyxvectar Nyxvectar requested a review from Prince213 October 4, 2025 03:14
@Nyxvectar Nyxvectar changed the title dingtalk: init at 7.6.45.5062501 dingtalk: init linux at 7.6.45.5062501 and darwin at 8.0.11.49716301 Oct 4, 2025
@Nyxvectar Nyxvectar requested a review from Prince213 October 4, 2025 05:30
@Nyxvectar Nyxvectar changed the title dingtalk: init linux at 7.6.45.5062501 and darwin at 8.0.11.49716301 dingtalk: init at 7.6.45.5062501 Oct 4, 2025
@Nyxvectar
Copy link
Author

Due to no Darwin devices, temporarily postpone the darwin dingtalk pkg.

Copy link
Member

@Prince213 Prince213 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on aarch64-darwin that the app can launch.

Feel free to add me to Co-authored-by if you wish to incorporate these changes.

@Nyxvectar Nyxvectar force-pushed the master branch 4 times, most recently from 12b1c2a to f3599db Compare October 4, 2025 10:04
@Nyxvectar Nyxvectar changed the title dingtalk: init at 7.6.45.5062501 dingtalk: init linux at 7.6.45.5062501 and darwin at 8.0.11.49716301 Oct 4, 2025
Copy link
Member

@Prince213 Prince213 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested that the app can launch on aarch64-darwin.

@dvorak0
Copy link

dvorak0 commented Oct 5, 2025

Hi, just checked: I cherry-picked the commit to my branch (https://github.com/dvorak0/nixpkgs/tree/nixos-24.05-dingtalk) it's still not working.

It's probably because I'm still on NixOS 24.04. The following log is for your reference:

❯ home-manager switch --show-trace
Home Manager not found at ….
trace: warning: `overrideScope'` (from `lib.makeScope`) has been renamed to `overrideScope`.
error:
       … while calling the 'derivationStrict' builtin

         at /builtin/derivation.nix:9:12: (source not available)

       … while evaluating derivation 'home-manager-generation'
         whose name attribute is located at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/pkgs/stdenv/generic/make-derivation.nix:333:7

       … while evaluating attribute 'buildCommand' of derivation 'home-manager-generation'

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/pkgs/build-support/trivial-builders/default.nix:68:16:

           67|         enableParallelBuilding = true;
           68|         inherit buildCommand name;
             |                ^
           69|         passAsFile = [ "buildCommand" ]

       … while evaluating derivation 'activation-script'
         whose name attribute is located at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/pkgs/stdenv/generic/make-derivation.nix:333:7

       … while evaluating attribute 'text' of derivation 'activation-script'

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/pkgs/build-support/trivial-builders/default.nix:103:16:

          102|       ({
          103|         inherit text executable checkPhase allowSubstitutes preferLocalBuild;
             |                ^
          104|         passAsFile = [ "text" ]

       … while calling 'mkCmd'

         at /home/dvorak/.nix-defexpr/channels/home-manager/modules/home-environment.nix:666:17:

          665|       let
          666|         mkCmd = res: ''
             |                 ^
          667|             _iNote "Activating %s" "${res.name}"

       … while calling anonymous lambda

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/attrsets.nix:1205:18:

         1204|         mapAttrs
         1205|           (name: value:
             |                  ^
         1206|             if isAttrs value && cond value

       … from call site

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/attrsets.nix:1208:18:

         1207|             then recurse (path ++ [ name ]) value
         1208|             else f (path ++ [ name ]) value);
             |                  ^
         1209|     in

       … while calling anonymous lambda

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/modules.nix:242:72:

          241|           # For definitions that have an associated option
          242|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          243|

       … while evaluating the option `home.activation.installPackages.data':

       … while calling anonymous lambda

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/modules.nix:824:28:

          823|         # Process mkMerge and mkIf properties.
          824|         defs' = concatMap (m:
             |                            ^
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))

       … while evaluating definitions from `/home/dvorak/.nix-defexpr/channels/home-manager/modules/home-environment.nix':

       … from call site

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/modules.nix:825:137:

          824|         defs' = concatMap (m:
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |                                                                                                                                         ^
          826|         ) defs;

       … while calling 'dischargeProperties'

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/modules.nix:896:25:

          895|   */
          896|   dischargeProperties = def:
             |                         ^
          897|     if def._type or "" == "merge" then

       … while evaluating derivation 'home-manager-path'
         whose name attribute is located at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/pkgs/stdenv/generic/make-derivation.nix:333:7

       … while evaluating attribute 'passAsFile' of derivation 'home-manager-path'

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/pkgs/build-support/trivial-builders/default.nix:69:9:

           68|         inherit buildCommand name;
           69|         passAsFile = [ "buildCommand" ]
             |         ^
           70|           ++ (derivationArgs.passAsFile or [ ]);

       … while calling anonymous lambda

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/attrsets.nix:1205:18:

         1204|         mapAttrs
         1205|           (name: value:
             |                  ^
         1206|             if isAttrs value && cond value

       … from call site

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/attrsets.nix:1208:18:

         1207|             then recurse (path ++ [ name ]) value
         1208|             else f (path ++ [ name ]) value);
             |                  ^
         1209|     in

       … while calling anonymous lambda

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/modules.nix:242:72:

          241|           # For definitions that have an associated option
          242|           declaredConfig = mapAttrsRecursiveCond (v: ! isOption v) (_: v: v.value) options;
             |                                                                        ^
          243|

       … while evaluating the option `home.packages':

       … from call site

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/modules.nix:846:59:

          845|       if isDefined then
          846|         if all (def: type.check def.value) defsFinal then type.merge loc defsFinal
             |                                                           ^
          847|         else let allInvalid = filter (def: ! type.check def.value) defsFinal;

       … while calling 'merge'

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/types.nix:552:20:

          551|       check = isList;
          552|       merge = loc: defs:
             |                    ^
          553|         map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:

       … while calling anonymous lambda

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/types.nix:553:35:

          552|       merge = loc: defs:
          553|         map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
             |                                   ^
          554|           imap1 (m: def':

       … while calling anonymous lambda

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/lists.nix:334:29:

          333|   */
          334|   imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
             |                             ^
          335|

       … from call site

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/lists.nix:334:32:

          333|   */
          334|   imap1 = f: list: genList (n: f (n + 1) (elemAt list n)) (length list);
             |                                ^
          335|

       … while calling anonymous lambda

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/types.nix:554:21:

          553|         map (x: x.value) (filter (x: x ? value) (concatLists (imap1 (n: def:
          554|           imap1 (m: def':
             |                     ^
          555|             (mergeDefinitions

       … while calling anonymous lambda

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/modules.nix:824:28:

          823|         # Process mkMerge and mkIf properties.
          824|         defs' = concatMap (m:
             |                            ^
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))

       … while evaluating definitions from `/home/dvorak/.config/home-manager/home.nix':

       … from call site

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/modules.nix:825:137:

          824|         defs' = concatMap (m:
          825|           map (value: { inherit (m) file; inherit value; }) (builtins.addErrorContext "while evaluating definitions from `${m.file}':" (dischargeProperties m.value))
             |                                                                                                                                         ^
          826|         ) defs;

       … while calling 'dischargeProperties'

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/modules.nix:896:25:

          895|   */
          896|   dischargeProperties = def:
             |                         ^
          897|     if def._type or "" == "merge" then

       … while calling '_internalCallByNamePackageFile'

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/pkgs/top-level/by-name-overlay.nix:56:36:

           55|   # Because at that point the code in ./stage.nix can be changed to not allow definitions in `all-packages.nix` to override ones from `pkgs/by-name` anymore and throw an error if that happens instead.
           56|   _internalCallByNamePackageFile = file: self.callPackage file { };
             |                                    ^
           57| }

       … from call site

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/pkgs/top-level/by-name-overlay.nix:56:42:

           55|   # Because at that point the code in ./stage.nix can be changed to not allow definitions in `all-packages.nix` to override ones from `pkgs/by-name` anymore and throw an error if that happens instead.
           56|   _internalCallByNamePackageFile = file: self.callPackage file { };
             |                                          ^
           57| }

       … while calling 'callPackageWith'

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/customisation.nix:212:35:

          211|   */
          212|   callPackageWith = autoArgs: fn: args:
             |                                   ^
          213|     let

       … from call site

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/trivial.nix:895:7:

          894|     { # TODO: Should we add call-time "type" checking like built in?
          895|       __functor = self: f;
             |       ^
          896|       __functionArgs = args;

       … while calling anonymous lambda

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/customisation.nix:136:17:

          135|     in
          136|     mirrorArgs (origArgs:
             |                 ^
          137|     let

       … from call site

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/customisation.nix:138:16:

          137|     let
          138|       result = f origArgs;
             |                ^
          139|

       … while calling anonymous lambda

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/pkgs/by-name/di/dingtalk/package.nix:1:1:

            1| {
             | ^
            2|   callPackage,

       … from call site

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/pkgs/by-name/di/dingtalk/package.nix:17:1:

           16| in
           17| callPackage (if stdenv.hostPlatform.isDarwin then ./darwin.nix else ./linux.nix) {
             | ^
           18|   inherit pname;

       … while calling 'callPackageWith'

         at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/lib/customisation.nix:212:35:

          211|   */
          212|   callPackageWith = autoArgs: fn: args:
             |                                   ^
          213|     let

       error: evaluation aborted with the following error message: 'lib.customisation.callPackageWith: Function called without required argument "libgbm" at /nix/store/v2jc6vsxgih1w4zr24cld5gi54ymf94c-nixos-24.05-dingtalk.tar.gz/nixos/pkgs/by-name/di/dingtalk/linux.nix:22, did you mean "libXpm", "libabw" or "libaom"?'

@Nyxvectar
Copy link
Author

Function called without required argument "libgbm" at /nix/store/

Around 4 days ago we have replaced mesa with libgbm, to reduce the size of the referenced dependency.
It seems that libgbm became independent at some point after 24.05. May mesa help?

@Nyxvectar
Copy link
Author

Nyxvectar commented Oct 5, 2025

#367674 Replaced all existing configurations or dependencies that originally relied on or referenced the mesa package with the more specific libgbm package on treewide, on Dec 23, 2024 by K900.

@Prince213
Copy link
Member

Prince213 commented Oct 5, 2025

24.05 is long unsupported so I'll consider it as a wont-fix. You should upgrade to a supported release like 25.05. Keep stateVersion fixed at 24.05 and no breakage should happen.

@dvorak0
Copy link

dvorak0 commented Oct 10, 2025

Hi @Nyxvectar, I'm curious, if the desktop notification working well in your side?

The version I'm using right now (https://github.com/nix-community/nur-combined/blob/main/repos/xddxdd/pkgs/uncategorized/dingtalk/default.nix#L239) fails to send notification.

@Nyxvectar
Copy link
Author

Nyxvectar commented Oct 11, 2025

Hi @Nyxvectar, I'm curious, if the desktop notification working well in your side?

The version I'm using right now (https://github.com/nix-community/nur-combined/blob/main/repos/xddxdd/pkgs/uncategorized/dingtalk/default.nix#L239) fails to send notification.

Correct, it has sounds and flickering, but no notification with Desktop Notification Enabled.

@dvorak0
Copy link

dvorak0 commented Dec 15, 2025

Feedback. The current packaging crash whenever I download something others send to me. I have to switch to flathub version: https://flathub.org/en/apps/com.dingtalk.DingTalk/install . I still hope we could solve the download issue.

@Svecco
Copy link

Svecco commented Dec 28, 2025

Upgrading the pull request from 7.6.45 -> 7.8.15 and 8.0 to 8.2.

@Svecco
Copy link

Svecco commented Dec 28, 2025

Let’s fix these issues someday.

Problems
  1. It seems that Dingtalk requires specific runtime dependencies to function properly. Missing GSettings schemas cause the application to crash with errors like:
    (com.alibabainc.dingtalk:225556): GLib-GIO-ERROR **: 11:17:48.693: No GSettings schemas are installed on the system
    
    When any modules related to doc files are activated, the docs tab enables access to the documentation feature, though the message tab cannot.

  1. Additionally, the logs for the tray and notifications appear to be normal when running:
    /nix/store/.../bin/dingtalk > debug.log && grep -C 5 -E 'error|notif' debug.log
    However, dingtalk only plays sound effects. Has dingtalk removed the desktop notifications option now? On my side, it looked like the screenshot below and there were no more options:
    image

  1. When switching to the chat window from another tab, the tab occasionally freezes, accompanied by unreadable junk logs generated in the background. By the way, dingtalk may display the keyboard input area twice.

  1. Clicking "forgot password" in the login menu triggers the following error:
    /nix/store/4zly4fk8fh257ya55f032wpj11bdjjp0-nss-3.112.2/lib/libnss3.so: version 'NSS_3.113' not found (required by /nix/store/bgpqygg0nb98441gxn58ana8ps6j7f3r-firefox-146.0/lib/firefox/libxul.so)
    Couldn't load XPCOM.
    
    After this error, nothing happens at all.

  1. When opening a video in the default browser integrated with Dingtalk, the audio continues to play even after the user closes Dingtalk.

  1. Under Wayland, any module using a floating window disappears immediately when the cursor is moved. No related logs are left.

@dragove
Copy link

dragove commented Feb 23, 2026

dingtalk on Linux has been updated to version 8.1.0.6021101
on arch linux AUR, users found the new version crashed with its own libgbm. remove the bundled lib makes it working normally.

@Svecco
Copy link

Svecco commented Feb 23, 2026

Copied. Check later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: darwin Running or building packages on Darwin 8.has: maintainer-list (update) This PR changes `maintainers/maintainer-list.nix` 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-darwin: 1 This PR causes 1 package to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-linux: 1 This PR causes 1 package to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons. 12.first-time contribution This PR is the author's first one; please be gentle!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants