From 43e3435a900d064e6b6500fb56ceec8f760b2284 Mon Sep 17 00:00:00 2001 From: K900 Date: Sun, 27 Aug 2023 10:54:42 +0300 Subject: [PATCH] AusweisApp2: fix build --- pkgs/applications/misc/ausweisapp2/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/applications/misc/ausweisapp2/default.nix b/pkgs/applications/misc/ausweisapp2/default.nix index 3ab0b19f63b8..6ef313fa6def 100644 --- a/pkgs/applications/misc/ausweisapp2/default.nix +++ b/pkgs/applications/misc/ausweisapp2/default.nix @@ -14,6 +14,12 @@ mkDerivation rec { nativeBuildInputs = [ cmake pkg-config ]; + # The build scripts copy the entire translations directory from Qt + # which ends up being read-only because it's in the store. + preBuild = '' + chmod +w resources/translations + ''; + buildInputs = [ qtsvg qttools qtwebsockets qtquickcontrols2 qtgraphicaleffects pcsclite ]; meta = with lib; {