I’m trying to build fetchit so I can put it on my guix channel.
However, I get the following error:
$ guix build -L ~/Nwaȥ/Êsaj/Giks/yrop/ fetchit
...
starting phase `build'
error: failed to get `ant-core` as a dependency of package `fetchit-net v0.2.0 (/tmp/guix-build-fetchit-0.2.8.drv-0/source/crates/fetchit-net)`
Caused by:
failed to load source for dependency `ant-core`
Caused by:
Unable to update https://github.com/WithAutonomi/ant-client?rev=3df6764
Caused by:
can't checkout from 'https://github.com/WithAutonomi/ant-client': you are in the offline mode (--offline)
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "cargo" arguments: ("build" "--offline" "-j" "4" "--release") exit-status: 101 term-signal: #f stop-signal: #f>
phase `build' failed after 0.4 seconds
command "cargo" "build" "--offline" "-j" "4" "--release" failed with status 101
build process 6 exited with status 256
builder for `/gnu/store/n6ljiwd9fa3xngpckn5pmq0640w4908h-fetchit-0.2.8.drv' failed with exit code 1
Solved by creating a guix package for the git dependency and removing the [[package]] section out of the lock file, then injecting the crate and dependencies of said git dependency package separately.