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

onboard: Fix gobject-introspection #67884

Closed
wants to merge 1 commit into from
Closed

Conversation

samdoshi
Copy link
Contributor

@samdoshi samdoshi commented Sep 1, 2019

Motivation for this change

#56943

Onboard was not working under xmonad (AFAIK it works fine under gnome).

Fixed as per ticket #56943 by adding gobject-introspection to buildInputs (it's already in nativeBuildInputs.

Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Ensured that relevant documentation is up to date
  • Fits CONTRIBUTING.md.
Notify maintainers

cc @johnramsden

@@ -91,6 +91,7 @@ in python3.pkgs.buildPythonApplication rec {
wrapGAppsHook
xorg.libXtst
xorg.libxkbfile
gobject-introspection # Temporary fix, see https://github.com/NixOS/nixpkgs/issues/56943
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
gobject-introspection # Temporary fix, see https://github.com/NixOS/nixpkgs/issues/56943

And use

strictDeps = false;

with the comment.

Copy link
Member

Choose a reason for hiding this comment

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

@worldofpeace is it better to remove strictDeps vs listing twice? If so, why?

Copy link
Contributor

Choose a reason for hiding this comment

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

The issue is actually triggered preventing the setup hook from being ran because of strictDeps being used #56943 (comment).

Copy link
Member

Choose a reason for hiding this comment

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

So this will be the best work around until the eventual issue is fixed.

Copy link
Contributor

Choose a reason for hiding this comment

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

Correct, as python packages enabled strictDeps this was the regression that followed for gobject-introspection using applications.

Copy link
Member

@johnramsden johnramsden 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 non-nixos system with strictDeps = false;, looks good.

@worldofpeace
Copy link
Contributor

I've fixed this in #67915 along with some other issues with onboard.

@samdoshi samdoshi deleted the onboard branch September 2, 2019 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants