mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 14:26:33 +01:00
ce77225e21
This is the thing you want to look at.
16 lines
237 B
Nix
16 lines
237 B
Nix
{
|
|
mkKdeDerivation,
|
|
lib,
|
|
substituteAll,
|
|
smartmontools,
|
|
}:
|
|
mkKdeDerivation {
|
|
pname = "plasma-disks";
|
|
|
|
patches = [
|
|
(substituteAll {
|
|
smartctl = lib.getExe smartmontools;
|
|
src = ./smartctl-path.patch;
|
|
})
|
|
];
|
|
}
|