[NixOS] Small tweaks to flake definitions for xmonad and taffybar
This commit is contained in:
@@ -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; [
|
||||||
|
|||||||
@@ -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; [
|
||||||
|
|||||||
Reference in New Issue
Block a user