Meson build broken under NixOS
install_active_runtime.sh references /bin/sh
, which does not exist. Instead, /usr/bin/env sh
should be used. Even with that tweak, however, the script silently fails, with meson printing e.g.:
Running custom install script '/usr/bin/env bash -eux /build/monado/src/xrt/targets/openxr/install_active_runtime.sh etc /nix/store/5c8nrsi3bg5rgg94i53baxq1zinx825i-monado/share/1/openxr_monado.json 1'
Failed to run install script '/usr/bin/env bash -eux /build/monado/src/xrt/targets/openxr/install_active_runtime.sh etc /nix/store/5c8nrsi3bg5rgg94i53baxq1zinx825i-monado/share/1/openxr_monado.json 1'
I also had to pass in opencv 4 even though the configuration stage passed with opencv 2.
CC @SirCmpwn