-
-
Notifications
You must be signed in to change notification settings - Fork 14.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build failure: chadwm #281587
Comments
The dwm package does not have Imlib2 as a package dependency, this is not a dwm or Imlib2 package related issue. |
I do believe Imlib2 is installed but we are missing a file imlib2.h If you download the imlib2 package from deepin sourceforge and extract it we see it is part of the scr/lib files https://sourceforge.net/projects/enlightenment/files/imlib2-src/ When I try to find this file on NixOS I can not find it. I thought I should change the path to the folder/file. But if there is no imlib2.h file. Just wondering if I overlooked it or if it is just not available on NixOS. Imlib2 is installed on the system via this way - I believe? |
No, that is not how you install libraries, you must override the package itself that needs it. Also you do not need an overlay, just use something like https://wiki.nixos.org/wiki/Dwm |
and the fact that imlib2 is missing a file is not the issue? |
Nothing would be missing if the package was correctly overridden, (NB |
I think I know what you mean. |
Steps To Reproduce
Steps to reproduce the behavior:
{ config, pkgs, ... }:
{
#services.xserver.displayManager.defaultSession = "none+dwm";
services.xserver.windowManager.dwm.enable = true;
nixpkgs.overlays = [
(final: prev: {
dwm = prev.dwm.overrideAttrs (old: { src = /home/erik/.config/arco-chadwm/chadwm ;});
})
];
}
Build log
How to log?
Here is an image
Additional context
Add any other context about the problem here.
Arch Linux has a file called Imlib2.h
Nixos does not have that file
referring to this file will break the build
https://github.com/erikdubois/nixos-configurations/blob/b3cbdfeb169f7e1ccee9f093afff56e7a57c1c70/dotfiles/.config/arco-chadwm/chadwm/drw.c#L7
Notify maintainers
I think the maintainer is empty
https://github.com/NixOS/nixpkgs/blob/nixos-23.05/pkgs/development/libraries/imlib2/default.nix#L76
Metadata
Add a 👍 reaction to issues you find important.
The text was updated successfully, but these errors were encountered: