{ stdenvNoCC , lib , fetchFromGitHub , nixosTests , php , writeText }: stdenvNoCC.mkDerivation rec { pname = "FreshRSS"; version = "1.24.1"; src = fetchFromGitHub { owner = "FreshRSS"; repo = "FreshRSS"; rev = version; hash = "sha256-AAOON1RdbG6JSnCc123jmIlIXHOE1PE49BV4hcASO/s="; }; postPatch = '' patchShebangs cli/*.php app/actualize_script.php ''; # the thirdparty_extension_path can only be set by config, but should be read by an env-var. overrideConfig = writeText "constants.local.php" ''