Skip to content

Commit bb52ad5

Browse files
authored
Merge pull request #121 from codgician/qemu-update-script
Bump to nixos-25.05
2 parents 60e72a8 + 9937276 commit bb52ad5

File tree

12 files changed

+67
-45
lines changed

12 files changed

+67
-45
lines changed

flake.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
inputs = {
3-
nixpkgs-stable.url = "nixpkgs/nixos-24.11";
3+
nixpkgs-stable.url = "nixpkgs/nixos-25.05";
44
nixpkgs-unstable.url = "nixpkgs/nixos-unstable";
55
utils.url = "github:numtide/flake-utils";
66
flake-compat.url = "github:edolstra/flake-compat";

pkgs/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ let
6161
linstor-client = callPackage ./linstor-client { };
6262
linstor-proxmox = callPackage ./linstor-proxmox { };
6363
linstor-server = pkgs-unstable.callPackage ./linstor-server {
64-
protobuf = pkgs-unstable.protobuf_23;
64+
protobuf = pkgs-unstable.protobuf_24;
6565
jre = pkgs.jdk11_headless;
6666
};
6767
nixmoxer = callPackage ./nixmoxer { };

pkgs/linstor-api-py/default.nix

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
lib,
3-
python3,
3+
python310,
44
fetchFromGitHub,
55
}:
66

7-
python3.pkgs.buildPythonPackage rec {
7+
python310.pkgs.buildPythonPackage rec {
88
pname = "linstor-api-py";
99
version = "1.23.0";
1010
pyproject = true;
@@ -18,9 +18,9 @@ python3.pkgs.buildPythonPackage rec {
1818
};
1919

2020
nativeBuildInputs = [
21-
python3.pkgs.setuptools
22-
python3.pkgs.wheel
23-
python3.pkgs.distutils
21+
python310.pkgs.setuptools
22+
python310.pkgs.wheel
23+
python310.pkgs.distutils
2424
];
2525

2626
pythonImportsCheck = [ "linstor" ];

pkgs/linstor-client/default.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
lib,
3-
python3,
3+
python310,
44
fetchFromGitHub,
55
linstor-api-py,
66
nix-update-script,
77
}:
88

9-
python3.pkgs.buildPythonApplication rec {
9+
python310.pkgs.buildPythonApplication rec {
1010
pname = "linstor-client";
1111
version = "1.23.0";
1212
pyproject = true;
@@ -19,8 +19,8 @@ python3.pkgs.buildPythonApplication rec {
1919
};
2020

2121
nativeBuildInputs = [
22-
python3.pkgs.setuptools
23-
python3.pkgs.wheel
22+
python310.pkgs.setuptools
23+
python310.pkgs.wheel
2424
];
2525

2626
propagatedBuildInputs = [ linstor-api-py ];

pkgs/linstor-server/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ let
3434
owner = "LINBIT";
3535
repo = "linstor-server";
3636
rev = "v${finalAttrs.version}";
37-
hash = "sha256-hKXFZgN2Z3v1MNAtI9Dm4ixumGvn7lv6SJcponxC+no=";
37+
hash = "sha256-+rtvc6FrBQ9YjLiuJpVy/xzSpXp9AgIRNScRd4BPmYw=";
3838
fetchSubmodules = true;
3939
leaveDotGit = true;
4040
};

pkgs/proxmox-backup-qemu/default.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ rustPlatform.buildRustPackage rec {
2626
src = fetchgit {
2727
url = "git://git.proxmox.com/git/${pname}.git";
2828
rev = "c3cbcae289d04b4454a70fc59dc58a19d5edb681";
29-
hash = "sha256-hO7b2WsTNU1WITNhdek5GppM7hiH1F6ijTfiqF3RBQY=";
29+
hash = "sha256-rbKKcPwswZoIAFGdW9SxG2goHC4U8TG0pYQl1M6jku0=";
3030
fetchSubmodules = true;
3131
leaveDotGit = true;
3232
};

pkgs/pve-common/default.nix

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
usbutils,
1717
mimebase32,
1818
mimebase64,
19-
substituteAll,
19+
replaceVars,
2020
}:
2121

2222
let
@@ -82,15 +82,13 @@ perl538.pkgs.toPerlModule (
8282
sourceRoot = "${src.name}/src";
8383

8484
patches = [
85-
(substituteAll {
86-
src = ./0001-ss_fix_path.patch;
85+
(replaceVars ./0001-ss_fix_path.patch {
8786
sspath = "${iproute2}/bin/";
8887
})
8988

9089
./0002-mknod-mknodat.patch
9190

92-
(substituteAll {
93-
src = ./0003-pci-id-path.patch;
91+
(replaceVars ./0003-pci-id-path.patch {
9492
pciutils = "${pciutils}";
9593
})
9694
];

pkgs/pve-http-server/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,12 @@ in
2727
perl538.pkgs.toPerlModule (
2828
stdenv.mkDerivation rec {
2929
pname = "pve-http-server";
30-
version = "5.1.2";
30+
version = "5.2.2";
3131

3232
src = fetchgit {
3333
url = "git://git.proxmox.com/git/${pname}.git";
34-
rev = "2ef480f66473fd090e9a2cb02773461349e54502";
35-
hash = "sha256-MsBGven0SCUMU0rcm2nFFCz2G5uSjcAlaLjZdIhS4aU=";
34+
rev = "444a9e19f616b49b02238c76d3e5530a9fa27383";
35+
hash = "sha256-RxUNSva6yyrNbPZFA4q7ndse6HZnLy8eDZ6//skxfJg=";
3636
};
3737

3838
sourceRoot = "${src.name}/src";

pkgs/pve-qemu-server/default.nix

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -53,29 +53,28 @@ in
5353
perl538.pkgs.toPerlModule (
5454
stdenv.mkDerivation rec {
5555
pname = "pve-qemu-server";
56-
version = "8.2.1";
56+
version = "8.3.8";
5757

5858
src = fetchgit {
5959
url = "git://git.proxmox.com/git/qemu-server.git";
60-
rev = "54aa98cea5071b5cd325cfaeb21b7aaa4af9bb4d";
61-
hash = "sha256-KjMkOTYrrXBB2HP9bXVJjDlBi86REe3lc8nEnUjZdls=";
60+
rev = "78a0c43e7c6b844d1c4f7ce037ce32c9ed6857cd";
61+
hash = "sha256-YktRlURya0pPg5mu+LVlJcBDhDW5Kd7tduZv0hgGyJo=";
6262
};
6363

6464
postPatch = ''
6565
sed -i {qmeventd/,}Makefile \
6666
-e "/GITVERSION/d" \
6767
-e "/default.mk/d" \
6868
-e "/pve-doc-generator/d" \
69-
-e "/install -m 0644 -D qm.bash-completion/,+4d" \
69+
-e "/install -m 0644 -D qm.bash-completion/,+3d" \
7070
-e "/install -m 0644 qm.1/,+4d" \
7171
-e "s/qmeventd docs/qmeventd/" \
7272
-e "/qmeventd.8/d" \
73-
-e "/SERVICEDIR/d" \
7473
-e "/modules-load.conf/d" \
7574
-e "s,usr/,,g"
7675
7776
# Fix QEMU version check
78-
sed -i PVE/QemuServer.pm -e "s/\[,\\\s\]//"
77+
sed -i PVE/QemuServer/Helpers.pm -e "s/\[,\\\s\]//"
7978
8079
# Fix libGL and libEGL detection
8180
sed -i PVE/QemuServer.pm -e "s|/usr/lib/x86_64-linux-gnu/lib|${libglvnd}/lib/lib|"
@@ -100,6 +99,11 @@ perl538.pkgs.toPerlModule (
10099
"PERLDIR=/${perl538.libPrefix}/${perl538.version}"
101100
];
102101

102+
# Create missing SERVICEDIR
103+
preInstall = ''
104+
mkdir -p $out/lib/systemd/system
105+
'';
106+
103107
postFixup = ''
104108
find $out/lib -type f | xargs sed -i \
105109
-e "/ENV{'PATH'}/d" \

0 commit comments

Comments
 (0)