Created
February 15, 2023 19:40
-
-
Save asifZaman0362/f2ed7122576925137fba41945a7ca723 to your computer and use it in GitHub Desktop.
Custom source for some of the packages in the main configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { pkgs ? import <nixpkgs> {} }: | |
| let | |
| dwm = pkgs.fetchFromGitHub { | |
| owner = "asifZaman0362"; | |
| repo = "dwm"; | |
| rev = "master"; | |
| }; | |
| in | |
| { | |
| dwm = dwm.override { | |
| buildInputs = [ pkgs.xorg.libX11 ]; | |
| configureScript = '' | |
| sed -i 's/^CFLAGS = -g -Wall/CFLAGS = -g -Wall -I\/usr\/include\/X11\//' config.mk | |
| ''; | |
| }; | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment