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>
10 lines
233 B
Nix
10 lines
233 B
Nix
{ mkDerivation
|
|
, extra-cmake-modules, perl, qtbase, qttools
|
|
}:
|
|
|
|
mkDerivation {
|
|
pname = "syntax-highlighting";
|
|
nativeBuildInputs = [ extra-cmake-modules perl ];
|
|
buildInputs = [ qttools ];
|
|
propagatedBuildInputs = [ qtbase ];
|
|
}
|