diff options
author | Jeremy Kolb <kjeremy@gmail.com> | 2023-09-14 16:25:36 -0400 |
---|---|---|
committer | Jeremy Kolb <kjeremy@gmail.com> | 2023-09-18 11:26:00 -0400 |
commit | f4ab49005831177f0a87bc0471df76965f6964e9 (patch) | |
tree | 8c77efd8ed9e262def57522d8e4211fdc0ce5078 /pkgs/applications/virtualization/open-vm-tools | |
parent | f81112bbb0f357b80333300c4702ff7538096156 (diff) |
open-vm-tools: Move from rec to finalAttrs
Diffstat (limited to 'pkgs/applications/virtualization/open-vm-tools')
-rw-r--r-- | pkgs/applications/virtualization/open-vm-tools/default.nix | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/applications/virtualization/open-vm-tools/default.nix b/pkgs/applications/virtualization/open-vm-tools/default.nix index 14f712a8f64f..078c786ae23e 100644 --- a/pkgs/applications/virtualization/open-vm-tools/default.nix +++ b/pkgs/applications/virtualization/open-vm-tools/default.nix @@ -39,18 +39,18 @@ , withX ? true }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "open-vm-tools"; version = "12.3.0"; src = fetchFromGitHub { owner = "vmware"; repo = "open-vm-tools"; - rev = "stable-${version}"; + rev = "stable-${finalAttrs.version}"; hash = "sha256-YVpWomLED5sBKXKdJtuDjb7/aKB2flVIm2ED3xSsccE="; }; - sourceRoot = "${src.name}/open-vm-tools"; + sourceRoot = "${finalAttrs.src.name}/open-vm-tools"; outputs = [ "out" "dev" ]; @@ -137,7 +137,7 @@ stdenv.mkDerivation rec { meta = with lib; { homepage = "https://github.com/vmware/open-vm-tools"; - changelog = "https://github.com/vmware/open-vm-tools/releases/tag/stable-${version}"; + changelog = "https://github.com/vmware/open-vm-tools/releases/tag/stable-${finalAttrs.version}"; description = "Set of tools for VMWare guests to improve host-guest interaction"; longDescription = '' A set of services and modules that enable several features in VMware products for @@ -147,4 +147,4 @@ stdenv.mkDerivation rec { platforms = [ "x86_64-linux" "i686-linux" "aarch64-linux" ]; maintainers = with maintainers; [ joamaki kjeremy ]; }; -} +}) |