-
-
Notifications
You must be signed in to change notification settings - Fork 13.3k
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?
![image](https://private-user-images.githubusercontent.com/10594806/297456272-45dec3b6-fffa-4be2-a04c-79b73aaa82d4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxNDQzNDUsIm5iZiI6MTcyNDE0NDA0NSwicGF0aCI6Ii8xMDU5NDgwNi8yOTc0NTYyNzItNDVkZWMzYjYtZmZmYS00YmUyLWEwNGMtNzliNzNhYWE4MmQ0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIwVDA4NTQwNVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTgyYzk0YjRiYzIwYjQ5ZWRjZjA0ODkyZTBhZDE5MzdhZTYyZjQ5ODcyNzU2ZGUyNDZjNzY1YjYxNjZhODI3ZDImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.3UpzYPx_6ee5K2gBegp1kAftkaRfXdBAD73yu_nCoFQ)
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: