Fix linux builds after nix-darwin updates
This commit is contained in:
@@ -10,11 +10,17 @@ let
|
|||||||
sha256 = "sha256-vHwgENjip2+AFzs4oZfnKEAJKwf5Zid7fakImvxxQUw=";
|
sha256 = "sha256-vHwgENjip2+AFzs4oZfnKEAJKwf5Zid7fakImvxxQUw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Default emacs configuration with vterm support
|
# Shared emacs packages
|
||||||
defaultEmacsPackage = pkgs.emacs-macport.pkgs.withPackages (epkgs: [
|
emacsPackages = epkgs: [
|
||||||
epkgs.vterm
|
epkgs.vterm
|
||||||
epkgs.treesit-grammars.with-all-grammars
|
epkgs.treesit-grammars.with-all-grammars
|
||||||
]);
|
];
|
||||||
|
|
||||||
|
# Default emacs configuration with vterm support
|
||||||
|
defaultEmacsPackage =
|
||||||
|
if pkgs.stdenv.isDarwin
|
||||||
|
then pkgs.emacs-macport.pkgs.withPackages emacsPackages
|
||||||
|
else pkgs.emacs.pkgs.withPackages emacsPackages;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
config = {
|
config = {
|
||||||
|
|||||||
@@ -12,9 +12,9 @@ in
|
|||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
home.packages = [
|
home.packages = [
|
||||||
claude-code
|
pkgs.claude-code
|
||||||
codex
|
pkgs.codex
|
||||||
goose-cli
|
pkgs.goose-cli
|
||||||
|
|
||||||
# Custom packages
|
# Custom packages
|
||||||
customPkgs.tea-rbw
|
customPkgs.tea-rbw
|
||||||
|
|||||||
Reference in New Issue
Block a user