diff options
| -rw-r--r-- | .emacs.d/early-init.el | 4 | ||||
| -rw-r--r-- | nix-conf/home/includes/darwin.nix | 30 |
2 files changed, 23 insertions, 11 deletions
diff --git a/.emacs.d/early-init.el b/.emacs.d/early-init.el index 0d20cfb..e55becc 100644 --- a/.emacs.d/early-init.el +++ b/.emacs.d/early-init.el @@ -4,9 +4,7 @@ (when (eq system-type 'darwin) - (setq frame-resize-pixelwise t - ;; To keep elpaca happy - emacs-version (replace-regexp-in-string "\\(.*\\..*\\)\\..*" "\\1" emacs-version))) + (setq frame-resize-pixelwise t)) (setq gc-cons-threshold most-positive-fixnum gc-cons-percentage 0.6) diff --git a/nix-conf/home/includes/darwin.nix b/nix-conf/home/includes/darwin.nix index 8720318..e85f3f9 100644 --- a/nix-conf/home/includes/darwin.nix +++ b/nix-conf/home/includes/darwin.nix @@ -36,10 +36,30 @@ let libuv = prev.libuv.overrideAttrs (old: { doCheck = false; }); + dbus = prev.dbus.overrideAttrs (old: { + doCheck = false; + }); + python313 = prev.python313.override { + packageOverrides = self: super: { + execnet = super.execnet.overridePythonAttrs (old: { + doCheck = false; + }); + pytest-xdist = super.pytest-xdist.overridePythonAttrs (old: { + doCheck = false; + }); + requests = super.requests.overridePythonAttrs (old: { + doCheck = false; + }); + sphinx = super.sphinx.overridePythonAttrs (old: { + doCheck = false; + }); + }; + }; } ); - # emacs-unstable from emacs-overlay, with the patches used by emacs-plus - emacs-plus = (patched-pkgs.emacs-unstable.overrideAttrs (old: { + + # Use the patches from emacs-plus + emacs-plus = (patched-pkgs.emacs30-pgtk.overrideAttrs (old: { patches = (old.patches or []) ++ [ @@ -67,12 +87,6 @@ in { imports = [ ./dev-common.nix ]; - nixpkgs.overlays = [ - (import (builtins.fetchTarball { - url = "https://github.com/nix-community/emacs-overlay/archive/master.tar.gz"; - })) - ]; - home.packages = with pkgs; [ awscli2 cacert |