lol

Merge pull request #249421 from Kranzes/libvirt

libvirt: 9.5.0 -> 9.6.0

authored by

Ilan Joselevich and committed by
GitHub
d036abd4 b354b3cd

+27 -20
+23 -16
pkgs/development/libraries/libvirt/0001-meson-patch-in-an-install-prefix-for-building-on-nix.patch
··· 401 401 ] 402 402 endif 403 403 diff --git a/src/security/apparmor/meson.build b/src/security/apparmor/meson.build 404 - index 990f00b4f3..e5a7a14e1d 100644 404 + index b9257c816d..98701755d8 100644 405 405 --- a/src/security/apparmor/meson.build 406 406 +++ b/src/security/apparmor/meson.build 407 - @@ -19,22 +19,22 @@ foreach name : apparmor_gen_profiles 407 + @@ -57,7 +57,7 @@ foreach name : apparmor_gen_profiles 408 408 output: name, 409 409 configuration: apparmor_gen_profiles_conf, 410 410 install: true, ··· 412 412 + install_dir: install_prefix + apparmor_dir, 413 413 ) 414 414 endforeach 415 - 416 - install_data( 417 - [ 'libvirt-qemu', 'libvirt-lxc' ], 418 - - install_dir: apparmor_dir / 'abstractions', 419 - + install_dir: install_prefix + apparmor_dir / 'abstractions', 420 - ) 421 - 415 + 416 + @@ -68,13 +68,13 @@ foreach name : apparmor_gen_abstractions 417 + command: apparmor_gen_cmd, 418 + capture: true, 419 + install: true, 420 + - install_dir: apparmor_dir / 'abstractions', 421 + + install_dir: install_prefix + apparmor_dir / 'abstractions', 422 + ) 423 + endforeach 424 + 422 425 install_data( 423 426 [ 'TEMPLATE.qemu', 'TEMPLATE.lxc' ], 424 427 - install_dir: apparmor_dir / 'libvirt', 425 428 + install_dir: install_prefix + apparmor_dir / 'libvirt', 426 429 ) 427 - 428 - install_data( 429 - 'usr.lib.libvirt.virt-aa-helper.local', 430 - - install_dir: apparmor_dir / 'local', 431 - + install_dir: install_prefix + apparmor_dir / 'local', 432 - rename: 'usr.lib.libvirt.virt-aa-helper', 433 - ) 430 + 431 + if not conf.has('WITH_APPARMOR_3') 432 + @@ -83,7 +83,7 @@ if not conf.has('WITH_APPARMOR_3') 433 + # files in order to limit the amount of filesystem clutter. 434 + install_data( 435 + 'usr.lib.libvirt.virt-aa-helper.local', 436 + - install_dir: apparmor_dir / 'local', 437 + + install_dir: install_prefix + apparmor_dir / 'local', 438 + rename: 'usr.lib.libvirt.virt-aa-helper', 439 + ) 440 + endif 434 441 diff --git a/src/storage/meson.build b/src/storage/meson.build 435 442 index 26e7ff1a1a..ad5c6eddc3 100644 436 443 --- a/src/storage/meson.build
+2 -2
pkgs/development/libraries/libvirt/default.nix
··· 114 114 # NOTE: You must also bump: 115 115 # <nixpkgs/pkgs/development/python-modules/libvirt/default.nix> 116 116 # SysVirt in <nixpkgs/pkgs/top-level/perl-packages.nix> 117 - version = "9.5.0"; 117 + version = "9.6.0"; 118 118 119 119 src = fetchFromGitLab { 120 120 owner = pname; 121 121 repo = pname; 122 122 rev = "v${version}"; 123 - sha256 = "sha256-u+J1ejv7JH6Lcwk8zDVUS8Vk806WvG59rLAZr0UOqj0="; 123 + sha256 = "sha256-dQr6bUaZOX1MN+MZxbsPqbv3bsyyWBM0SBYlSnV04K0="; 124 124 fetchSubmodules = true; 125 125 }; 126 126
+2 -2
pkgs/development/python-modules/libvirt/default.nix
··· 2 2 3 3 buildPythonPackage rec { 4 4 pname = "libvirt"; 5 - version = "9.5.0"; 5 + version = "9.6.0"; 6 6 7 7 src = fetchFromGitLab { 8 8 owner = "libvirt"; 9 9 repo = "libvirt-python"; 10 10 rev = "v${version}"; 11 - hash = "sha256-DhScwkbyCluLc/V26Y6wbZfzo1WBcLswBVzLCGs0PPs="; 11 + hash = "sha256-DIyvd13BeKP4HzgHz1FGUTau19MJgBKPiHnpK5nq0os="; 12 12 }; 13 13 14 14 nativeBuildInputs = [ pkg-config ];