diff --git a/pkgs/by-name/re/rewaita/package.nix b/pkgs/by-name/re/rewaita/package.nix index 216ac1f98c51..8709a6ea7dad 100644 --- a/pkgs/by-name/re/rewaita/package.nix +++ b/pkgs/by-name/re/rewaita/package.nix @@ -29,6 +29,15 @@ python3Packages.buildPythonApplication { hash = "sha256-adSXq+DFw3IQxNuUkP1FcKlIh9h4Zb0tJKswYs3S92E="; }; + # Prevent the app from copying the RO flag of files from /nix/store + postPatch = '' + substituteInPlace src/interface_to_shell_theme.py \ + --replace-fail 'shutil.copy2' 'shutil.copyfile' + + substituteInPlace src/window.py \ + --replace-fail 'shutil.copy' 'shutil.copyfile' + ''; + strictDeps = true; nativeBuildInputs = [