[NixOS] Small tweaks to flake definitions for xmonad and taffybar

This commit is contained in:
2025-08-14 14:02:27 -06:00
parent 612c0ef78d
commit 7d603e3d4f
2 changed files with 4 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
{ {
inputs = { inputs = {
flake-utils.url = github:numtide/flake-utils; flake-utils.url = "github:numtide/flake-utils";
xmonad.url = github:xmonad/xmonad/master; xmonad.url = "github:xmonad/xmonad/master";
taffybar.url = "github:taffybar/taffybar"; taffybar.url = "github:taffybar/taffybar";
}; };
outputs = { self, flake-utils, taffybar, nixpkgs, xmonad }: outputs = { self, flake-utils, taffybar, nixpkgs, xmonad }:
@@ -39,7 +39,7 @@
let pkgs = import nixpkgs { inherit system overlays; config.allowBroken = true; }; let pkgs = import nixpkgs { inherit system overlays; config.allowBroken = true; };
hpkgs = pkgs.lib.attrsets.getAttrFromPath (xmonad.lib.hpath defComp) pkgs; hpkgs = pkgs.lib.attrsets.getAttrFromPath (xmonad.lib.hpath defComp) pkgs;
in in
rec { {
devShell = hpkgs.shellFor { devShell = hpkgs.shellFor {
packages = p: [ p.imalison-taffybar p.taffybar ]; packages = p: [ p.imalison-taffybar p.taffybar ];
nativeBuildInputs = with hpkgs; [ nativeBuildInputs = with hpkgs; [

View File

@@ -17,7 +17,7 @@
in flake-utils.lib.eachDefaultSystem (system: in flake-utils.lib.eachDefaultSystem (system:
let pkgs = import nixpkgs { inherit system overlays; config.allowBroken = true; }; let pkgs = import nixpkgs { inherit system overlays; config.allowBroken = true; };
in in
rec { {
devShell = pkgs.haskellPackages.shellFor { devShell = pkgs.haskellPackages.shellFor {
packages = p: [ p.imalison-xmonad p.xmonad-contrib ]; packages = p: [ p.imalison-xmonad p.xmonad-contrib ];
buildInputs = with pkgs.haskellPackages; [ buildInputs = with pkgs.haskellPackages; [