about summary refs log tree commit diff
path: root/pkgs/games/gog/fetch-gog/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/games/gog/fetch-gog/default.nix')
-rw-r--r--pkgs/games/gog/fetch-gog/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/games/gog/fetch-gog/default.nix b/pkgs/games/gog/fetch-gog/default.nix
index 31b4cd38..d4a35a05 100644
--- a/pkgs/games/gog/fetch-gog/default.nix
+++ b/pkgs/games/gog/fetch-gog/default.nix
@@ -150,6 +150,7 @@ let
   in runCommandCC "get-captcha" {
     nativeBuildInputs = [ pkgconfig ];
     buildInputs = [ qt5.qtbase qt5.qtwebengine ];
+    preferLocalBuild = true;
   } ''
     g++ $(pkg-config --libs --cflags Qt5WebEngineWidgets Qt5WebEngine) \
       -Wall -std=c++11 -o "$out" ${application}
@@ -284,6 +285,8 @@ in stdenv.mkDerivation {
   outputHashAlgo = "sha256";
   outputHash = sha256;
 
+  preferLocalBuild = true;
+
   nativeBuildInputs = [
     curl python3Packages.tabulate python3Packages.MechanicalSoup
   ];