Skip to content

meta.mainProgram missing #219567

@davidak

Description

@davidak

Describe the bug

For many packages, nix run does not work, because meta.mainProgram is missing.

Example error:

[davidak@gaming:~]$ nix run nixpkgs#calls
error: unable to execute '/nix/store/b1ylix7xwgknn5pypja89nh6i2s80icz-calls-43.2/bin/calls': No such file or directory

I don't want to create issues for every case and would prefer a systematic solution.

Please add any package name with this issue here or as comment!

Affected packages:

  • calls
  • linphone

It would also be nice to add an automatic test if meta.mainProgram exist. Maybe it should be added to nixpkgs-review?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions