I packaged restreamer for NixOS. Builds for NixOS packages run in isolated environments without internet access and controlled environment.
During packaging restreamer there were two issues:
Config testing
At some points there ist config tested against memfs where a /bin/ffmpeg stub is created. Since there is no PATH for the memfs this lookup collides with the config default for ffmpeg.binary which is ffmpeg
URL testing
the net/url part tests against google.com, which is not resolved in an isolated environment.
I packaged restreamer for NixOS. Builds for NixOS packages run in isolated environments without internet access and controlled environment.
During packaging restreamer there were two issues:
Config testing
At some points there ist config tested against memfs where a
/bin/ffmpegstub is created. Since there is noPATHfor the memfs this lookup collides with the config default forffmpeg.binarywhich isffmpegURL testing
the
net/urlpart tests against google.com, which is not resolved in an isolated environment.