diff --git a/pkgs/misc/optee-os/default.nix b/pkgs/misc/optee-os/default.nix index e191a254a023..2b3235e7445c 100644 --- a/pkgs/misc/optee-os/default.nix +++ b/pkgs/misc/optee-os/default.nix @@ -94,6 +94,15 @@ let runHook postInstall ''; + # The conventional build system for OPTEE trusted applications accepts + # a TA_DEV_KIT_DIR parameter, which expects all artifacts (headers and + # libraries) to exist in that directory. We populate a "devkit" Nix + # output for this purpose, but we must also tell the multiple-output + # setup hook to not move our artifacts after we populate this + # directory. + outputDev = "devkit"; + outputLib = "devkit"; + meta = {