aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2025-06-24 13:42:56 +0100
committerDavid Morgan <djm_uk@protonmail.com>2025-06-24 13:42:56 +0100
commit309f50d2d20d159451e76d10a74da4c3fb8019c5 (patch)
tree1817ff08c59c23d36ced7fdb8b72c85d4f5f1949
parent8779faa76f5661e44e2a092988121a49e1fcb4c6 (diff)
downloaddotfiles-309f50d2d20d159451e76d10a74da4c3fb8019c5.tar.gz
Use emacs-pgtk instead of overlay version
-rw-r--r--.emacs.d/early-init.el4
-rw-r--r--nix-conf/home/includes/darwin.nix30
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