mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-22 08:30:57 +00:00
vencord: fix installPhase hooks
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
This commit is contained in:
@@ -61,15 +61,13 @@ 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 { };
|
||||
|
||||
|
||||
Reference in New Issue
Block a user