diff --git a/pkgs/by-name/li/linux-wifi-hotspot/package.nix b/pkgs/by-name/li/linux-wifi-hotspot/package.nix index 4f10506fc3e3..2eda4a32df4d 100644 --- a/pkgs/by-name/li/linux-wifi-hotspot/package.nix +++ b/pkgs/by-name/li/linux-wifi-hotspot/package.nix @@ -2,6 +2,7 @@ lib, stdenv, fetchFromGitHub, + fetchpatch, which, pkg-config, glib, @@ -50,6 +51,13 @@ stdenv.mkDerivation (finalAttrs: { outputs = [ "out" ]; + patches = [ + (fetchpatch { + url = "https://github.com/lakinduakash/linux-wifi-hotspot/commit/a3fce4b3ee9371eeb7b300fa7e9f291d93986db3.patch"; + hash = "sha256-tvWoYvQELYVq1Cr6NG+9kafYFHZloNMuOvaPeIbYlSI="; + }) + ]; + postPatch = '' substituteInPlace ./src/scripts/Makefile \ --replace "etc" "$out/etc"