about summary refs log tree commit diff
path: root/packages.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@gmail.com>2018-03-06T11·33+0100
committerVincent Ambo <tazjin@gmail.com>2018-03-06T11·33+0100
commit602b8b4ef06341fad4b60bc946d7406cafb321f8 (patch)
treebad09b5bacfafacc93d232c506867a40cff9e780 /packages.nix
parent92ae9eed7a0a75a0e403227dbe2b436a20c231b3 (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.nix6
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";
+      });
     };
   };