diff --git a/pkgs/misc/vencord/default.nix b/pkgs/misc/vencord/default.nix index f06b9af56936..38dbc1fa8f81 100644 --- a/pkgs/misc/vencord/default.nix +++ b/pkgs/misc/vencord/default.nix @@ -36,6 +36,7 @@ buildNpmPackage rec { npmDepsHash = "sha256-m+hczXog03Gz81CP/blkRJPaTrEhmLQFvVtOfWKYQL4="; npmFlags = [ "--legacy-peer-deps" ]; npmBuildScript = if buildWebExtension then "buildWeb" else "build"; + npmBuildFlags = [ "--" "--standalone" ]; prePatch = '' cp ${./package-lock.json} ./package-lock.json @@ -49,11 +50,12 @@ buildNpmPackage rec { ./disable-updater-ui.patch ]; - installPhase = if buildWebExtension then '' - cp -r dist/chromium-unpacked/ $out - '' else '' - cp -r dist/ $out - ''; + installPhase = + if buildWebExtension then '' + cp -r dist/chromium-unpacked/ $out + '' else '' + cp -r dist/ $out + ''; meta = with lib; { description = "Vencord web extension";