Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mate-panel build doesn't include gobject-introspection files #53836

Closed
duairc opened this issue Jan 12, 2019 · 2 comments
Closed

mate-panel build doesn't include gobject-introspection files #53836

duairc opened this issue Jan 12, 2019 · 2 comments

Comments

@duairc
Copy link
Contributor

duairc commented Jan 12, 2019

Issue description

The derivation of mate-panel in nixos-unstable does not include gobject-introspection files. This causes applets that use gobject-introspection to get bindings to the underlying mate-panel library to fail.

Steps to reproduce

Build mate-panel in nixos-unstable and look at the result/. It should include the following files but doesn't.

  • ./lib/girepository-1.0/MatePanelApplet-4.0.typelib
  • ./share/gir-1.0/MatePanelApplet-4.0.gir

Solution

The fix is simple: add gobject-introspection to the buildInputs. But I'm a bit hazy as to whether it should go in buildInputs or nativeBuildInputs... I don't know much about how gobjecty applications work, but I'm guessing those files are generated during the build process, right? That would mean it should be in nativeBuildInputs?

Technical details

  • system: "x86_64-linux"
  • host os: Linux 4.19.13, NixOS, 19.03.git.acd2756 (Koi)
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.1.3
  • channels(shane): ""
  • channels(root): "home-manager, nixos-19.03pre165037.eebd1a92637"
  • nixpkgs: /pkgs/nixpkgs
@hedning
Copy link
Contributor

hedning commented Jan 12, 2019

Yep, you're correct it should go in nativeBuildInputs.

@worldofpeace
Copy link
Contributor

I see

    ├── gir-1.0
    │   └── MatePanelApplet-4.0.gir

in the package's output now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants