diff options
| author | Skullheadx <admonty1@protonmail.com> | 2026-06-13 21:57:47 -0400 |
|---|---|---|
| committer | Skullheadx <admonty1@protonmail.com> | 2026-06-13 21:57:47 -0400 |
| commit | 06e55b0ac5b05f7d50af0bc95e3ab60be1b7892c (patch) | |
| tree | c07961741a55b3a8b705878b28074c4cd784aba7 /flake.nix | |
| parent | change keybinds (diff) | |
| download | dwm-06e55b0ac5b05f7d50af0bc95e3ab60be1b7892c.tar.gz dwm-06e55b0ac5b05f7d50af0bc95e3ab60be1b7892c.tar.bz2 dwm-06e55b0ac5b05f7d50af0bc95e3ab60be1b7892c.zip | |
Diffstat (limited to '')
| -rw-r--r-- | flake.nix | 52 |
1 files changed, 25 insertions, 27 deletions
@@ -5,34 +5,32 @@ nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable"; }; - outputs = - { self, nixpkgs }: - let - system = "x86_64-linux"; - pkgs = import nixpkgs { inherit system; }; + outputs = { + self, + nixpkgs, + }: let + system = "x86_64-linux"; + pkgs = import nixpkgs {inherit system;}; + in { + packages.${system}.default = pkgs.stdenv.mkDerivation { + pname = "dwm"; + version = "6.8"; + src = ./.; - in - { - packages.${system}.default = pkgs.stdenv.mkDerivation { - pname = "dwm"; - version = "6.8"; - src = ./.; + nativeBuildInputs = [pkgs.pkg-config]; + buildInputs = with pkgs; [ + libX11 + libxinerama + libxft + libxcb + libxres + fira-code + ]; - nativeBuildInputs = [ pkgs.pkg-config ]; - buildInputs = with pkgs; [ - libX11 - libxinerama - libxft - libxcb - libxres - - ]; - - makeFlags = [ - "PREFIX=$(out)" - "CC:=$(CC)" - ]; - - }; + makeFlags = [ + "PREFIX=$(out)" + "CC:=$(CC)" + ]; }; + }; } |
