Now Emacs works on the Macbook

This commit is contained in:
Andrea Ciceri 2021-10-11 23:58:20 +02:00
parent b4d239d34b
commit 3f39ace857
No known key found for this signature in database
GPG key ID: AAFD2423608B645B
9 changed files with 158 additions and 127 deletions

View file

@ -0,0 +1,10 @@
{ prev, pkgs, ... }:
prev.runCommandNoCC "wrap-chromium"
{ buildInputs = with pkgs; [ makeWrapper ]; }
''
makeWrapper ${c}/bin/chromium $out/bin/chromium \
--add-flags "--enable-features=UseOzonePlatform" \
--add-flags "--ozone-platform=wayland"
ln -sf ${c}/share $out/share
''