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
243 B
Nix
13 lines
243 B
Nix
{ mkDerivation
|
|
, lib
|
|
, extra-cmake-modules
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "kpublictransport";
|
|
meta = with lib; {
|
|
license = [ licenses.cc0 ];
|
|
maintainers = [ maintainers.samueldr ];
|
|
};
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
}
|