God nix is cool

This commit is contained in:
Benson Chu 2025-01-26 18:25:25 -06:00
parent e65bca4e3a
commit ff325014f1
2 changed files with 7 additions and 1 deletions

View file

@ -86,6 +86,7 @@
# packages = with pkgs; [ mps-debug ];
inputsFrom = with pkgs; [ emacs ];
packages = with pkgs; [ mps ];
buildInputs = with pkgs; [ xorg.libXrandr ];
shellHook = ''
echo "MPS debug environment!"

View file

@ -1,6 +1,11 @@
{ inputs, config, pkgs, lib, ... }@args:
let
my-emacs = ((pkgs.emacsPackagesFor pkgs.emacs-unstable)
emacs-with-xrandr = pkgs.emacs-unstable.overrideAttrs (
oa: {
buildInputs = oa.buildInputs ++ [ pkgs.xorg.libXrandr ];
}
);
my-emacs = ((pkgs.emacsPackagesFor emacs-with-xrandr)
.emacsWithPackages (epkgs: with epkgs; [
treesit-grammars.with-all-grammars
mu4e