diff options
author | Maciej Krüger <mkg20001@gmail.com> | 2023-11-11 22:14:18 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-11 22:14:18 +0100 |
commit | e8c0fde6b3826780ee2832afbc4c72373cb87af1 (patch) | |
tree | 7656dee980f1e9dd2a692f703b0bf119aed01377 | |
parent | e9cdae74d55737943358a1d33c4906d4a6865159 (diff) | |
parent | d7196b13a63c6f3caaf48f3d0e6c528620f117d3 (diff) |
Merge pull request #266480 from nbraud/pkgs/ddccontrol
-rw-r--r-- | pkgs/tools/misc/ddccontrol/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/tools/misc/ddccontrol/default.nix b/pkgs/tools/misc/ddccontrol/default.nix index 498ad0f095196..630b06bcfb3ce 100644 --- a/pkgs/tools/misc/ddccontrol/default.nix +++ b/pkgs/tools/misc/ddccontrol/default.nix @@ -1,6 +1,7 @@ { lib , stdenv , fetchFromGitHub +, fetchpatch , autoreconfHook , intltool , libxml2 @@ -34,6 +35,14 @@ stdenv.mkDerivation rec { ddccontrol-db ]; + patches = [ + # Upstream commit, fixed the version number in v1.0.0 + (fetchpatch { + url = "https://github.com/ddccontrol/ddccontrol/commit/fc8c5b5d0f2b64b08b95f4a7d8f47f2fd8ceec34.patch"; + hash = "sha256-SB1BaolTNCUYgj38nMg1uLUqOHvnwCr8T3cnfu/7rjI="; + }) + ]; + configureFlags = [ "--with-systemdsystemunitdir=${placeholder "out"}/etc/systemd/system" ]; |