From 698ad1803d983d749f8bf0cd59b6f0f12b8ba3c3 Mon Sep 17 00:00:00 2001 From: xeals Date: Tue, 23 May 2023 09:52:36 +1000 Subject: [PATCH] amdgpu-fan: patch bad placeholder version --- pkgs/unit/am/amdgpu-fan/package.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/unit/am/amdgpu-fan/package.nix b/pkgs/unit/am/amdgpu-fan/package.nix index f8eac9f..a5a192c 100644 --- a/pkgs/unit/am/amdgpu-fan/package.nix +++ b/pkgs/unit/am/amdgpu-fan/package.nix @@ -20,6 +20,11 @@ python3Packages.buildPythonApplication rec { pyyaml ]; + patchPhase = '' + substituteInPlace setup.py \ + --replace PROJECTVERSION "${version}" + ''; + meta = with lib; { description = "Fan controller for AMD graphics cards running the amdgpu driver on Linux"; homepage = "https://github.com/chestm007/amdgpu-fan";