diff options
author | Vincent Ambo <tazjin@gmail.com> | 2018-03-06T11·33+0100 |
---|---|---|
committer | Vincent Ambo <tazjin@gmail.com> | 2018-03-06T11·33+0100 |
commit | 602b8b4ef06341fad4b60bc946d7406cafb321f8 (patch) | |
tree | bad09b5bacfafacc93d232c506867a40cff9e780 /packages.nix | |
parent | 92ae9eed7a0a75a0e403227dbe2b436a20c231b3 (diff) |
fix(pkgs): Remove outdated nix-mode from Nix package
See https://github.com/NixOS/nixpkgs/issues/36372 for details
Diffstat (limited to 'packages.nix')
-rw-r--r-- | packages.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages.nix b/packages.nix index 4cbe8ba60f39..db803db9a6f4 100644 --- a/packages.nix +++ b/packages.nix @@ -13,6 +13,12 @@ in { config.allowUnfree = true; config.packageOverrides = oldPkgs: oldPkgs // { wallpapers = import ./pkgs/wallpapers.nix; + + # Remove nix-mode from the Nix package as a workaround for + # https://github.com/NixOS/nixpkgs/issues/36372 + nix = oldPkgs.nix.overrideAttrs (oldAttrs: rec { + postInstall = "rm -rf $out/share/emacs"; + }); }; }; |