mirror of
https://github.com/aviallon/nixos-lib.git
synced 2026-04-06 01:38:06 +00:00
[Overlays/Packages] Add many features in htop build
Signed-off-by: Antoine Viallon <antoine@lesviallon.fr>
This commit is contained in:
parent
95115da012
commit
aae354de14
1 changed files with 15 additions and 0 deletions
15
overlays.nix
15
overlays.nix
|
|
@ -38,6 +38,21 @@ in
|
||||||
rsyncOptimized = optimizeForThisHost super.rsync;
|
rsyncOptimized = optimizeForThisHost super.rsync;
|
||||||
nano = optimizeForThisHost super.nano;
|
nano = optimizeForThisHost super.nano;
|
||||||
veracrypt = optimizeForThisHost pkgs.veracrypt;
|
veracrypt = optimizeForThisHost pkgs.veracrypt;
|
||||||
|
htop = optimizeForThisHost (super.htop.overrideAttrs (old: {
|
||||||
|
configureFlags = old.configureFlags ++ [
|
||||||
|
"--enable-hwloc"
|
||||||
|
];
|
||||||
|
|
||||||
|
nativeBuildInputs = old.nativeBuildInputs ++ (with super; [
|
||||||
|
pkg-config
|
||||||
|
]);
|
||||||
|
buildInputs = old.buildInputs ++ (with super; [
|
||||||
|
libunwind
|
||||||
|
libcap
|
||||||
|
libnl
|
||||||
|
hwloc
|
||||||
|
]);
|
||||||
|
}));
|
||||||
steam = super.steam.override {
|
steam = super.steam.override {
|
||||||
withJava = true;
|
withJava = true;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue