diff --git a/pkgs/by-name/li/libstroke/package.nix b/pkgs/by-name/li/libstroke/package.nix index 2231adbf80cc..d3f44a038105 100644 --- a/pkgs/by-name/li/libstroke/package.nix +++ b/pkgs/by-name/li/libstroke/package.nix @@ -15,6 +15,10 @@ stdenv.mkDerivation rec { sha256 = "0bbpqzsqh9zrc6cg62f6vp1p4dzvv37blsd0gdlzdskgwvyzba8d"; }; + postPatch = '' + sed -i 1i'#include ' libstroke/stroke.c + ''; + nativeBuildInputs = [ automake autoconf ]; buildInputs = [ libX11 ];