summary refs log tree commit diff stats
path: root/user/packages
diff options
context:
space:
mode:
Diffstat (limited to 'user/packages')
-rw-r--r--user/packages/commercial-emacs/default.nix21
1 files changed, 21 insertions, 0 deletions
diff --git a/user/packages/commercial-emacs/default.nix b/user/packages/commercial-emacs/default.nix
new file mode 100644
index 00000000..7c0c99b7
--- /dev/null
+++ b/user/packages/commercial-emacs/default.nix
@@ -0,0 +1,21 @@
+{ lib
+, fetchFromGitHub
+
+, emacs
+
+, withTreeSitter ? true
+}:
+(emacs.override {
+  inherit withTreeSitter;
+  nativeComp = false;
+}).overrideAttrs
+  (old: rec {
+    pname = "commercial-emacs";
+    src = fetchFromGitHub {
+      owner = pname;
+      repo = pname;
+      rev = "50771bb6107e32048187ab93f224cd307c733a33";
+      sha256 = "03r4aqiljqg5g07jlbjp5sld0vg122gpb5ah4mpq2hl239qgxc3b";
+    };
+    patches = [ ];
+  })