[Nix-dev] error: attribute ‘xmonadContrib’ missing
Amy de Buitléir
amy at nualeargais.ie
Fri May 15 23:19:10 CEST 2015
I'm getting an error message I don't understand. I haven't touched the
xmonadContrib stuff, so why would it be complaining about that?
[root at wombat9000:~]# nixos-rebuild switch
building Nix...
building the system configuration...
error: attribute ‘xmonadContrib’ missing, at "/etc/nixos/configuration.nix":35:5
(use ‘--show-trace’ to show detailed location information)
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ config, pkgs, ... }:
{
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix
];
boot.loader.grub.device = "/dev/sda1";
# Use the gummiboot efi boot loader.
boot.loader.gummiboot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
networking.hostName = "wombat9000"; # Define your hostname.
# networking.wireless.enable = true; # Enables wireless.
# Select internationalisation properties.
i18n = {
consoleFont = "lat9w-16";
# consoleKeyMap = "ie";
defaultLocale = "en_IE.UTF-8";
};
# List packages installed in system profile. To search by name, run:
# -env -qaP | grep wget
environment.systemPackages = with pkgs; [
dmenu2
dzen2
haskellPackages.xmonad
haskellPackages.xmonadContrib
haskellPackages.xmonadExtras
wget
xsel
];
nixpkgs.config.packageOverrides = pkgs : rec {
haskellngPackages = pkgs.haskell-ng.packages.ghc7101;
};
nixpkgs.config.allowUnfree = true;
security.sudo.enable = true;
# List services that you want to enable:
# Enable the OpenSSH daemon.
# services.openssh.enable = true;
# Enable CUPS to print documents.
# services.printing.enable = true;
# Enable the X11 windowing system.
services.xserver.enable = true;
services.xserver.layout = "ie";
# services.xserver.xkbOptions = "eurosign:e";
services.xserver.videoDrivers = [ "nvidia" ];
# Enable the KDE Desktop Environment.
# services.xserver.displayManager.kdm.enable = true;
# services.xserver.displayManager.lightdm.enable = true;
# services.xserver.displayManager.slim.enable = false;
# services.xserver.desktopManager.kde4.enable = true;
# services.xserver.desktopManager.xfce.enable = true;
services.xserver.desktopManager.xterm.enable = false;
services.xserver.desktopManager.default = "none";
services.xserver.windowManager.xmonad.enable = true;
services.xserver.windowManager.xmonad.extraPackages =
haskellngPackages: [
haskellngPackages.xmonad-contrib
];
users.extraUsers.amy = {
description = "Amy de Buitléir";
group = "users";
extraGroups = [ "wheel" ];
uid = 1000;
createHome = true;
home = "/home/amy";
shell = "/run/current-system/sw/bin/bash";
};
}
More information about the nix-dev
mailing list