Skip to content

packagekit: add 'enableNixBackend' as an option - #21157

Merged
Mic92 merged 2 commits into
NixOS:masterfrom
ikervagyok:gnome
Dec 17, 2016
Merged

Mic92 merged 2 commits into
NixOS:masterfrom
ikervagyok:gnome

Conversation

@ikervagyok

Copy link
Copy Markdown
Contributor
Motivation for this change packagekit: add 'enableNixBackend' as an option

packagekit doesn't compile on my computers because of a broken nix-backend.
i am not good at fixing cpp, so i cant really analyse the source.

Things done
  • Tested using sandboxing
    (nix.useSandbox on NixOS,
    or option build-use-sandbox in nix.conf
    on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • Linux
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Fits CONTRIBUTING.md.

Packagekit fails to build on my machines, as long as it's nix-backend is enabled
@mention-bot

Copy link
Copy Markdown

@ikervagyok, thanks for your PR! By analyzing the history of the files in this pull request, we identified @matthewbauer, @nckx and @RamKromberg to be potential reviewers.

@Mic92

Mic92 commented Dec 14, 2016

Copy link
Copy Markdown
Member

can you post the build error? maybe somebody has a good idea how to fix it.

@matthewbauer

Copy link
Copy Markdown
Member

Looks like c94454a broke it.

@bendlas

bendlas commented Dec 14, 2016

Copy link
Copy Markdown
Contributor

@ikervagyok this could be done by passing a --disable-nix configureFlag to the packagekit build. It wouldn't make much sense though, to have the nix build of packagekit not support the nix backend ;-)

@matthewbauer do you have time to fix packagekit for the newest nix and put those patches into our build until they have been released into packagekit itself?

@bendlas

bendlas commented Dec 14, 2016

Copy link
Copy Markdown
Contributor

@ikervagyok

Copy link
Copy Markdown
Contributor Author

@bendlas: It was temporary, to fix my update/install issues and it raised the right amount of attention. Of course I'd love to see a correct fix asap, but I can't provide one. ;)

@matthewbauer: I was amazed when I saw packagekit has support for nix. Keep it up!

@Mic92
Mic92 merged commit fa80bf7 into NixOS:master Dec 17, 2016
rycee pushed a commit to rycee/nixpkgs that referenced this pull request Feb 4, 2017
* packagekit: disable nix-backend

Packagekit fails to build on my machines, as long as it's nix-backend is enabled

* packagekit: add 'enableNixBackend' as an option

(cherry picked from commit fa80bf7)
adrianpk added a commit to adrianpk/nixpkgs that referenced this pull request May 31, 2024
* packagekit: disable nix-backend

Packagekit fails to build on my machines, as long as it's nix-backend is enabled

* packagekit: add 'enableNixBackend' as an option

(cherry picked from commit fa80bf7)
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

Successfully merging this pull request may close these issues.

5 participants