From 602b8b4ef06341fad4b60bc946d7406cafb321f8 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Tue, 6 Mar 2018 12:33:27 +0100 Subject: fix(pkgs): Remove outdated nix-mode from Nix package See https://github.com/NixOS/nixpkgs/issues/36372 for details --- packages.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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"; + }); }; }; -- cgit 1.4.1