https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
13 lines
197 B
Nix
13 lines
197 B
Nix
{
|
|
mkDerivation,
|
|
extra-cmake-modules,
|
|
plasma-framework
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "plasma-nano";
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [
|
|
plasma-framework
|
|
];
|
|
}
|