microsoft-edge: symlink /bin/microsoft-edge to /bin/microsoft-edge-stable (#494405)

This commit is contained in:
Ulrik Strid
2026-03-02 16:01:42 +00:00
committed by GitHub
@@ -95,6 +95,9 @@
makeFontsConf,
noto-fonts-cjk-sans,
noto-fonts-cjk-serif,
# Create a symlink at $out/bin/microsoft-edge-stable
withSymlink ? true,
}:
let
opusWithCustomModes = libopus.override { withCustomModes = true; };
@@ -269,6 +272,10 @@ stdenvNoCC.mkDerivation (finalAttrs: {
patchelf --set-interpreter ${bintools.dynamicLinker} $elf
done
${lib.optionalString withSymlink ''
ln -s $out/bin/microsoft-edge $out/bin/microsoft-edge-stable
''}
runHook postInstall
'';