Closed Pandapip1 closed 2 weeks ago
Why didn't you test 2.7.3
Why didn't you test 2.7.3
It isn't the latest version present in nixpkgs. I'll test it later.
Nix packages are not managed by us.
I'm well aware. This isn't a nix packaging problem, though. This is a problem that occurs when depotdownloader is used within a nix build environment. I'm sorry I haven't gathered quite enough data yet, I'll reopen an issue when I can give you a MRE.
for the benefit of other nixers that find this issue, the problem is exclusive to 2.7.2 and 2.7.3 due to the version of steamkit that gets pulled -- it was a little too exuberant in poking through /sys/class/net, which of course is not available in a nix sandbox. 2.7.4 pulls 3.0.0 proper, not beta, which fixes this. if you are not inclined to wait for 2.7.4 to land in nixpkgs (which in turn will need dotnet-sdk_9 to land), quick and dirty fix is to patch SteamKit2 in depotdownloader's BuildInputs
such that GetMacAddresses
reads something like:
static List<byte[]> GetMacAddresses( bool checkForPhysicalDevice = true )
{
return new List<byte[]>();
}
and it'll work for all your nix expressions that need to fetch steam content.
example to pull from can be found here though there are some other patches in there so be careful blindly copypasting
What did you expect to happen?
I expected the program not to crash.
Instead of that, what actually happened?
The program crashed and core dumped.
Which operating system are you running on?
Linux
Version
2.7.2
Command
DepotDownloader -app "250820" -depot "250824" -manifest "5862217504045387455" -loginid 101619330 -dir $out
Relevant log output
Additional Information
I run
depotdownloader
in a sandboxed environment (a Nix build environment, to be specific) that doesn't have access to most of the system for security reasons. The culprit is something in between 2.5.0 and 2.7.2.I've tried to reproduce this with bubblewrap, but I am unable to for some reason. I will continue to investigate.