-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tests fail when using NEXUSMODS_APP_USE_SYSTEM_EXTRACTOR
#1836
Comments
Looks like the tests weren't built with NexusMods.App/src/ArchiveManagement/NexusMods.FileExtractor/Extractors/SevenZipExtractor.cs Lines 203 to 215 in 6a9cee9
Otherwise, you wouldn't see |
I imagine this will probably be handled next week at the soonest. I am reopening this because their package is being built with To reproduce:
The test binary tried using the built-in
Issue probably has something to do with this block. |
Bug Report
Summary
Tests complain they cannot find the file '/build/source/tests/NexusMods.CLI.Tests/bin/Release/net8.0/runtimes/linux-x64/native/7zz'.
Steps to reproduce
Run the tests on a build built with
NEXUSMODS_APP_USE_SYSTEM_EXTRACTOR
.More specifically:
nix
pkgs/by-name/ne/nexusmods-app/package.nix
to remove the symlink inpostPatch
nix log
command and search forFailed
nix log /nix/store/f97pyrppffpc96wzmx9klqlh2k0z6hm0-nexusmods-app-0.5.3.drv
/Failed
(search forward for the regex "Failed")N
(jump to next match)What is the expected behaviour?
I expected 7zz to be found on the PATH.
If the PATH is being searched, I'd expect that to show up in the error message.
Other information
(Logs, screenshots, possible fixes, expected behaviour, etc.)
Building on this nixpkgs PR NixOS/nixpkgs#331150 so there may be other contributing factors. E.g. I'm not 100% sure that PATH is being set correctly when running the tests.
The text was updated successfully, but these errors were encountered: