overlays: add overlay for i3status-rust
This commit is contained in:
parent
912073bee6
commit
0c25fa3f83
|
@ -60,6 +60,8 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
overlays = import ./overlays;
|
||||||
|
|
||||||
nixosConfigurations =
|
nixosConfigurations =
|
||||||
let
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
|
@ -73,7 +75,7 @@
|
||||||
config.allowUnfree = true;
|
config.allowUnfree = true;
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
];
|
] ++ builtins.attrValues self.overlays;
|
||||||
sharedModules = [
|
sharedModules = [
|
||||||
home-manager.nixosModule
|
home-manager.nixosModule
|
||||||
{ nixpkgs.overlays = shared_overlays; }
|
{ nixpkgs.overlays = shared_overlays; }
|
||||||
|
|
3
overlays/default.nix
Normal file
3
overlays/default.nix
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
{
|
||||||
|
i3status-rust = import ./i3status-rust;
|
||||||
|
}
|
19
overlays/i3status-rust/default.nix
Normal file
19
overlays/i3status-rust/default.nix
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
final: prev:
|
||||||
|
{
|
||||||
|
# overlay created because nixpkgs's `i3status-rust` depended on `notmuch`, and
|
||||||
|
# `notmuch`'s tests were briefly broken. the features I'm disabling, I don't
|
||||||
|
# need anyway: (at the time of writing)
|
||||||
|
#
|
||||||
|
# - notmuch
|
||||||
|
# - maildir
|
||||||
|
i3status-rust = prev.i3status-rust.overrideAttrs (oldAttrs: {
|
||||||
|
buildInputs = builtins.attrValues {
|
||||||
|
inherit (final)
|
||||||
|
dbus
|
||||||
|
openssl
|
||||||
|
pulseaudio
|
||||||
|
;
|
||||||
|
};
|
||||||
|
cargoBuildFeatures = [ "pulseaudio" ];
|
||||||
|
});
|
||||||
|
}
|
Loading…
Reference in a new issue