xen: dehardcode pname

This is useful for the future when we begin building custom versions of
Xen, such as `qubes-vmm-xen`.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
This commit is contained in:
Fernando Rodrigues 2024-08-11 16:30:10 +00:00
parent 403837b6a8
commit 37eddc4f7e
No known key found for this signature in database
GPG Key ID: CC3AE2EA00000000
6 changed files with 6 additions and 1 deletions

View File

@ -20,6 +20,7 @@ let
in
callPackage (import ../generic/default.nix {
pname = "xen";
branch = "4.16";
version = "4.16.6";
latest = false;

View File

@ -21,6 +21,7 @@ let
in
callPackage (import ../generic/default.nix {
pname = "xen";
branch = "4.17";
version = "4.17.4";
latest = false;

View File

@ -21,6 +21,7 @@ let
in
callPackage (import ../generic/default.nix {
pname = "xen";
branch = "4.18";
version = "4.18.2";
latest = false;

View File

@ -20,6 +20,7 @@ let
in
callPackage (import ../generic/default.nix {
pname = "xen";
branch = "4.19";
version = "4.19.0";
latest = true;

View File

@ -99,11 +99,11 @@ let
which
];
inherit (versionDefinition) pname;
inherit (versionDefinition) branch;
inherit (versionDefinition) version;
inherit (versionDefinition) latest;
inherit (versionDefinition) pkg;
pname = "xen";
# Sources needed to build tools and firmwares.
prefetchedSources =

View File

@ -150,6 +150,7 @@ let
in
callPackage (import ../generic/default.nix {
pname = "xen";
branch = "$branch";
version = "$version";
latest = $latest;