Unverified Commit 4e205841 authored by Sefa Eyeoglu's avatar Sefa Eyeoglu
Browse files

vencord: fix installPhase hooks

parent 1401c610
Loading
Loading
Loading
Loading
+7 −9
Original line number Diff line number Diff line
@@ -61,14 +61,12 @@ stdenv.mkDerivation (finalAttrs: {
    runHook postBuild
  '';

  installPhase =
    if buildWebExtension then
      ''
        cp -r dist/chromium-unpacked/ $out
      ''
    else
      ''
        cp -r dist/ $out
  installPhase = ''
    runHook preInstall

    cp -r dist/${lib.optionalString buildWebExtension "chromium-unpacked/"} $out

    runHook postInstall
  '';

  passthru.updateScript = nix-update-script { };