Merge pull request #279253 from risicle/ris-packagekit-1.2.8

packagekit: 1.2.5.1pre -> 1.2.8
This commit is contained in:
Thomas Gerbet 2024-01-30 23:37:46 +01:00 committed by GitHub
commit 898c3061fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 10 additions and 5 deletions

View File

@ -13,7 +13,7 @@ let
(iniFmt.generate "PackageKit.conf" (recursiveUpdate
{
Daemon = {
DefaultBackend = "nix";
DefaultBackend = "test_nop";
KeepCache = false;
};
}
@ -35,7 +35,7 @@ let
in
{
imports = [
(mkRemovedOptionModule [ "services" "packagekit" "backend" ] "Always set to Nix.")
(mkRemovedOptionModule [ "services" "packagekit" "backend" ] "Always set to test_nop, Nix backend is broken see #177946.")
];
options.services.packagekit = {

View File

@ -24,19 +24,20 @@
, bash-completion ? null
, enableSystemd ? lib.meta.availableOn stdenv.hostPlatform systemd
, systemd
, nixosTests
}:
stdenv.mkDerivation rec {
pname = "packagekit";
version = "1.2.5.1pre";
version = "1.2.8";
outputs = [ "out" "dev" "devdoc" ];
src = fetchFromGitHub {
owner = "PackageKit";
repo = "PackageKit";
rev = "30bb82da8d4161330a6d7a20c9989149303421a1";
sha256 = "k2osc2v0OuGrNjwxdqn785RsbHEJP3p79PG9YqnVE3U=";
rev = "v${version}";
hash = "sha256-k51uQHar/uvdTDj/Ud60Oh6H7rfjEc9bfQnH5cvg8hc=";
};
buildInputs = [
@ -92,6 +93,10 @@ stdenv.mkDerivation rec {
--replace "install_dir: join_paths(get_option('localstatedir'), 'lib', 'PackageKit')," "install_dir: join_paths('$out', 'var', 'lib', 'PackageKit'),"
'';
passthru.tests = {
nixos-test = nixosTests.packagekit;
};
meta = with lib; {
description = "System to facilitate installing and updating packages";
longDescription = ''