Use nixpkgs's exposed emacs29 derivation
They finally added emacs 29 support to nixpkgs, so I don't have to do this weird hack anymore...
This commit is contained in:
parent
1303300518
commit
920c2802b8
|
@ -3,24 +3,10 @@ let
|
||||||
# nix-direnv with flake support
|
# nix-direnv with flake support
|
||||||
nix-direnv-with-flakes = pkgs.nix-direnv.override { enableFlakes = true; };
|
nix-direnv-with-flakes = pkgs.nix-direnv.override { enableFlakes = true; };
|
||||||
|
|
||||||
emacs29 = pkgs.callPackage (import "${nixpkgs}/pkgs/applications/editors/emacs/generic.nix" {
|
emacs29 = pkgs.emacs29.override {
|
||||||
version = "29.0.90";
|
|
||||||
sha256 = "sha256-5aR+9EZF9Md2nb4n3xktFR5j8cZto7mZaYUXZpQbvNI=";
|
|
||||||
}) {
|
|
||||||
withPgtk = true;
|
withPgtk = true;
|
||||||
withWebP = true;
|
withWebP = true;
|
||||||
withSQLite3 = true;
|
withSQLite3 = true;
|
||||||
|
|
||||||
# Copied from nixpkgs
|
|
||||||
libXaw = pkgs.xorg.libXaw;
|
|
||||||
gconf = null;
|
|
||||||
alsa-lib = null;
|
|
||||||
acl = null;
|
|
||||||
gpm = null;
|
|
||||||
inherit (pkgs.darwin.apple_sdk.frameworks)
|
|
||||||
AppKit Carbon Cocoa IOKit OSAKit Quartz QuartzCore WebKit
|
|
||||||
ImageCaptureCore GSS ImageIO;
|
|
||||||
inherit (pkgs.darwin) sigtool;
|
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
Loading…
Reference in a new issue