fix(pkgs): Remove outdated nix-mode from Nix package

See https://github.com/NixOS/nixpkgs/issues/36372 for details
This commit is contained in:
Vincent Ambo 2018-03-06 12:33:27 +01:00
parent 92ae9eed7a
commit 602b8b4ef0

View file

@ -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";
});
};
};