mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 08:31:59 +00:00
faf0d3e91d
- Reduce environment pollution with a separate $bin output containing programs, plugins, and shared data. Libraries remain in $out and are not installed into the environment. - Only propagate build inputs as required.
17 lines
409 B
Nix
17 lines
409 B
Nix
{
|
|
mkDerivation, lib,
|
|
extra-cmake-modules,
|
|
ilmbase, karchive, openexr, qtbase
|
|
}:
|
|
|
|
let inherit (lib) getDev; in
|
|
|
|
mkDerivation {
|
|
name = "kimageformats";
|
|
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [ karchive openexr qtbase ];
|
|
outputs = [ "out" ]; # plugins only
|
|
NIX_CFLAGS_COMPILE = "-I${getDev ilmbase}/include/OpenEXR";
|
|
}
|