packagekit: disable nix backend

This commit is contained in:
Artturin 2022-12-05 17:52:05 +02:00
parent 2ecd8cbbc5
commit a519bddf0d
2 changed files with 5 additions and 4 deletions

View file

@ -10,7 +10,6 @@
, gobject-introspection
, vala
, gtk-doc
, nix
, boost
, meson
, ninja
@ -48,7 +47,6 @@ stdenv.mkDerivation rec {
gst_all_1.gst-plugins-base
gtk3
sqlite
nix
boost
] ++ lib.optional enableSystemd systemd
++ lib.optional enableBashCompletion bash-completion;
@ -69,7 +67,10 @@ stdenv.mkDerivation rec {
mesonFlags = [
(if enableSystemd then "-Dsystemd=true" else "-Dsystem=false")
"-Dpackaging_backend=nix"
# often fails to build with nix updates
# and remounts /nix/store as rw
# https://github.com/NixOS/nixpkgs/issues/177946
#"-Dpackaging_backend=nix"
"-Ddbus_sys=${placeholder "out"}/share/dbus-1/system.d"
"-Ddbus_services=${placeholder "out"}/share/dbus-1/system-services"
"-Dsystemdsystemunitdir=${placeholder "out"}/lib/systemd/system"

View file

@ -10390,7 +10390,7 @@ with pkgs;
p7zip = callPackage ../tools/archivers/p7zip { };
packagekit = callPackage ../tools/package-management/packagekit { nix = nixVersions.nix_2_8; };
packagekit = callPackage ../tools/package-management/packagekit { };
packetdrill = callPackage ../tools/networking/packetdrill { };