mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 14:22:50 +03: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.
15 lines
324 B
Nix
15 lines
324 B
Nix
{
|
|
mkDerivation, lib,
|
|
extra-cmake-modules,
|
|
libdmtx, qrencode, qtbase,
|
|
}:
|
|
|
|
mkDerivation {
|
|
name = "prison";
|
|
meta = { maintainers = [ lib.maintainers.ttuegel ]; };
|
|
nativeBuildInputs = [ extra-cmake-modules ];
|
|
buildInputs = [ libdmtx qrencode ];
|
|
propagatedBuildInputs = [ qtbase ];
|
|
outputs = [ "out" "dev" ];
|
|
}
|