Hello!
I am trying to install the latest git version of AwesomeWM as part of my configuration.nix. The reason is that my configuration from my previous setup used that version, and there are a lot of breaking changes from the most recent stable release, 4.3, which is 4 years old by now.
I have searched extensively online for a solution and found a few that seemed promising
Both of these run into the same problem of a failed installation
error: builder for '/nix/store/rxs26bdhncl6hhc8l600xwifa0v5761j-awesomeGit-4.3.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/lsb2mmf2lx46v7k48x4klfbwbvd5h080-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/cg5ja54zpd4f9mybblkdybyp27xyp8x7-xsession.drv' failed to build
error: 1 dependencies of derivation '/nix/store/wh5kshb4mqda1rqrpqyza2905jf8cw9a-nixos-system-nixbtw-23.05.2613.011567f35433.drv' failed to build
My exact code for this is
{ config, pkgs, lib, ... }: {
nixpkgs.overlays = [
(final: prev: {
awesomeGit = prev.awesome.overrideAttrs (old: rec {
pname = "awesomeGit";
src = prev.fetchFromGitHub {
owner = "awesomeWM";
repo = "awesome";
rev = "0e5fc4575ab0adbae75908cb49937d9cf63437ec";
sha256 = "sha256-ZFjYKyzQiRgg5uHgMLeex6oOKDrXMhp9dxxHEm2xeH4=";
};
});
}
)
];
}
{ config, pkgs, ... }:
{
services.xserver = {
enable = true;
displayManager.defaultSession = "none+awesome";
windowManager.awesome = {
enable = true;
package = pkgs.awesomeGit;
luaModules = with pkgs.luaPackages; [ luarocks luadbi-mysql ];
};
};
services.picom.enable = true;
}
I can’t make sense of this error, and I have tried looking at the logs with nix log
but I am none the wiser… Does anyone have an idea what the problem could be or how I could go about finding out what’s the issue?