Skip to content

Packagekit not compiling with Nix-backend enabled #21230

Closed

Description

@ikervagyok

Issue description

packagekit won't compile on my machines, fixed it for myself temporarily by disabling the nix backend. would be nice to have a working nix backend on nixos. discussion was started at #21157.

long story short:
build-error: http://hastebin.com/tiyomifipe.log (by @bendlas)
commit that probably breaks it: c94454a (by @matthewbauer)

Steps to reproduce

rebuild system with current master (with packagekit pulled in by anything ;) )

Technical details

  • System: 17.03.git.0b65f85 (Gorilla) (on a custom branch, where nix-backend is disabled atm - rebased on todays master)

Activity

  1. matthewbauer commented on Apr 21, 2017

    @matthewbauer
    Member

    Yeah so I'm mostly waiting for 1.12 to hit nix stable. Hopefully won't be too much longer.

  2. added
    0.kind: bug
    6.topic: GNOME
    on Dec 20, 2017
  3. jtojnar commented on Mar 22, 2018

    @jtojnar
    Member

    What is the status of this, @matthewbauer?

  4. matthewbauer commented on Mar 22, 2018

    @matthewbauer
    Member

    It's on my todo list... There were some breaking changes in the Nix bindings, but I can look into fixing them now that Nix 2.0 is out.

  5. self-assigned this
    on Mar 23, 2018
  6. matthewbauer commented on Jun 17, 2018

    @matthewbauer
    Member

    Would anyone else like to adopt maintainership of PackageKit? I have authored PackageKit/PackageKit@f31ab6e which should fix this (although it's not extensively tested). It will hopefully be released soon. Ideally someone could integrate the new nix search & its JSON db here, but I haven't looked at it.

  7. removed their assignment
    on Jun 17, 2018
  8. jtojnar commented on Jun 17, 2018

    @jtojnar
    Member

    I would be willing to maintain it, but will not be able to contribute to the further integration until later in the summer.

  9. benley commented on Jan 11, 2019

    @benley
    Member

    Has anyone looked at this recently? I'm curious what the current state of packagekit is

  10. dtzWill commented on Jan 13, 2020

    @dtzWill
    Member

    Well, packagekit at least builds w/Nix these days, tested while updating to 1.1.13 but likely has built for some time now. (cc #77498).

    Not sure status of packagekit service when enabling the nix backend (which the NixOS module presently sets to test_noop--somethign like this should enable the right backends, for testing?)... anyone know its status?

  11. self-assigned this
    on May 11, 2020
  12. matthewbauer commented on May 11, 2020

    @matthewbauer
    Member

    With Nix flakes caching support, I think we can get much better performance with this. I will work on updating this soon.

  13. nixos-discourse commented on Jun 4, 2020

    @nixos-discourse
  14. matthewbauer commented on Jul 28, 2020

    @matthewbauer
    Member

    I have a WIP branch for this here:

    #94055

    If you could test it out with any PackageKit clients you want to use and report back, that would be helpful!

  15. stale commented on Jan 24, 2021

    @stale

    I marked this as stale due to inactivity. → More info

  16. added
    2.status: stale
    on Jan 24, 2021
  17. wmertens commented on Feb 11, 2022

    @wmertens
    Contributor

    so... does that mean gnome-software actually uses nix-env now?

    Can we backport this to stable?

  18. jtojnar commented on Feb 15, 2022

    @jtojnar
    Member

    GNOME Software is still empty – it probably depends on #15932.

  19. added a commit that references this issue on Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

0.kind: bug2.status: stale6.topic: GNOME

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions