Add XMODIFIERS=emacs
This fixes the latest segfault I encountered after /usr/bin/{google-emacs,emacs} was updated...
This commit is contained in:
parent
9d7331d63b
commit
c9da7c5214
1 changed files with 2 additions and 1 deletions
|
@ -116,6 +116,7 @@ let
|
||||||
|
|
||||||
withEmacsPath = emacsBin: pkgs.writeShellScriptBin "wpcarros-emacs" ''
|
withEmacsPath = emacsBin: pkgs.writeShellScriptBin "wpcarros-emacs" ''
|
||||||
# TODO: Is this the best way to handle environment variables using Nix?
|
# TODO: Is this the best way to handle environment variables using Nix?
|
||||||
|
export XMODIFIERS=emacs
|
||||||
export BRIEFCASE=$HOME/briefcase
|
export BRIEFCASE=$HOME/briefcase
|
||||||
export DEPOT=$HOME/depot
|
export DEPOT=$HOME/depot
|
||||||
|
|
||||||
|
@ -134,7 +135,7 @@ let
|
||||||
in {
|
in {
|
||||||
# Use `nix-env -f '<briefcase>' emacs.glinux` to install `wpcarro-emacs` on
|
# Use `nix-env -f '<briefcase>' emacs.glinux` to install `wpcarro-emacs` on
|
||||||
# gLinux machines. This will ensure that X and GL linkage behaves as expected.
|
# gLinux machines. This will ensure that X and GL linkage behaves as expected.
|
||||||
glinux = withEmacsPath "/usr/bin/emacs";
|
glinux = withEmacsPath "/usr/bin/google-emacs";
|
||||||
|
|
||||||
# Use `nix-env -f '<briefcase>' emacs.nixos` to install `wpcarros-emacs` on
|
# Use `nix-env -f '<briefcase>' emacs.nixos` to install `wpcarros-emacs` on
|
||||||
# NixOS machines.
|
# NixOS machines.
|
||||||
|
|
Loading…
Reference in a new issue