v4l2loopback: Add bin output with utils

This commit is contained in:
Las Safin 2021-08-16 11:33:38 +00:00
parent 7eff10936c
commit d72d1fe1e5
No known key found for this signature in database
GPG key ID: E7FA928911B61ED6

View file

@ -23,6 +23,12 @@ stdenv.mkDerivation rec {
buildInputs = [ kmod ]; buildInputs = [ kmod ];
postInstall = ''
make install-utils PREFIX=$bin
'';
outputs = [ "out" "bin" ];
makeFlags = [ makeFlags = [
"KERNELRELEASE=${kernel.modDirVersion}" "KERNELRELEASE=${kernel.modDirVersion}"
"KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build" "KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"