Mic92 / envfs

Fuse filesystem that returns symlinks to executables based on the PATH of the requesting process.
249 stars 5 forks source link

The Cargo.lock file is missing for the build #11

Closed NicolasGuilloux closed 3 years ago

NicolasGuilloux commented 3 years ago

Hi! :)

The import fails to build the derivation because it fails to locate the Cargo.lock. Do you know how to fix that?

ERROR: The Cargo.lock file doesn't exist

Cargo.lock is needed to make sure that cargoSha256 doesn't change
when the registry is updated.

builder for '/nix/store/l1w9wp7whiy7fjrics2b2wb0ha1bbrly-envfs-0.0.1-vendor.tar.gz.drv' failed with exit code 1
cannot build derivation '/nix/store/w4v3rf1na2ddqmkfh68y5y3zxry3kdy2-envfs-0.0.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/lrn0mflw7mjnlyyjrfgzvc5ym2lv80i8-system-path.drv': 1 dependencies couldn't be built
Mic92 commented 3 years ago

Weird. Only seems to happen in 20.09: https://github.com/Mic92/envfs/runs/1804920055#step:5:1036

Mic92 commented 3 years ago

Working on a fix here: https://github.com/Mic92/envfs/pull/12

NicolasGuilloux commented 3 years ago

It works! Thanks a lot <3