diff --git a/pkgs/applications/virtualization/xen/4.16/default.nix b/pkgs/applications/virtualization/xen/4.16/default.nix index 88b4946ef712..c87c29edb5b0 100644 --- a/pkgs/applications/virtualization/xen/4.16/default.nix +++ b/pkgs/applications/virtualization/xen/4.16/default.nix @@ -20,6 +20,7 @@ let in callPackage (import ../generic/default.nix { + pname = "xen"; branch = "4.16"; version = "4.16.6"; latest = false; diff --git a/pkgs/applications/virtualization/xen/4.17/default.nix b/pkgs/applications/virtualization/xen/4.17/default.nix index 31b12685271c..b96fe5e51fc4 100644 --- a/pkgs/applications/virtualization/xen/4.17/default.nix +++ b/pkgs/applications/virtualization/xen/4.17/default.nix @@ -21,6 +21,7 @@ let in callPackage (import ../generic/default.nix { + pname = "xen"; branch = "4.17"; version = "4.17.4"; latest = false; diff --git a/pkgs/applications/virtualization/xen/4.18/default.nix b/pkgs/applications/virtualization/xen/4.18/default.nix index 0494a2d054e0..ada750351937 100644 --- a/pkgs/applications/virtualization/xen/4.18/default.nix +++ b/pkgs/applications/virtualization/xen/4.18/default.nix @@ -21,6 +21,7 @@ let in callPackage (import ../generic/default.nix { + pname = "xen"; branch = "4.18"; version = "4.18.2"; latest = false; diff --git a/pkgs/applications/virtualization/xen/4.19/default.nix b/pkgs/applications/virtualization/xen/4.19/default.nix index 469302f14b2b..fc43e18faeab 100644 --- a/pkgs/applications/virtualization/xen/4.19/default.nix +++ b/pkgs/applications/virtualization/xen/4.19/default.nix @@ -20,6 +20,7 @@ let in callPackage (import ../generic/default.nix { + pname = "xen"; branch = "4.19"; version = "4.19.0"; latest = true; diff --git a/pkgs/applications/virtualization/xen/generic/default.nix b/pkgs/applications/virtualization/xen/generic/default.nix index 591d4ab945e4..7411acd1d855 100644 --- a/pkgs/applications/virtualization/xen/generic/default.nix +++ b/pkgs/applications/virtualization/xen/generic/default.nix @@ -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 = diff --git a/pkgs/applications/virtualization/xen/update.sh b/pkgs/applications/virtualization/xen/update.sh index f5034d11c0af..310fd6606f78 100755 --- a/pkgs/applications/virtualization/xen/update.sh +++ b/pkgs/applications/virtualization/xen/update.sh @@ -150,6 +150,7 @@ let in callPackage (import ../generic/default.nix { + pname = "xen"; branch = "$branch"; version = "$version"; latest = $latest;