recent nix: cannot unmarshal object into Go value of type []*nix2.nixPathInfo #1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
hi there,
this driver currently invokes
nix path-info
.on recent nix versions such as 2.18.1, such invocations have appeared to fail for me, yielding an error:
i hadn't managed to get old versions of nix to build, but for what it's worth, i had a similar issue pop up using the similar driver
nomad-driver-nix
.This software is not really maintained anymore, we are still using it on a testing cluster but I think we will go back to Docker at some point. I personnally do not have time to dig into this at the moment, but if you'd like to do so, you should try checking if the nix path-info command wrote anything to stderr, because I can't see a difference in the --json output of nix 2.18 and nix 2.10. Maybe it's the invocation arguments on the command line for nix path-info that are not working anymore, I know there was a change recently where
nix path-info xxx.drv
stopped meaning the same thing and you now have to writenix path-info xxx.drv^*
instead. This could be it in this case I guess. Hopefully you can debug this and make it work again, good luck!