nocargo icon indicating copy to clipboard operation
nocargo copied to clipboard

time-macros fails with proc-macro = 0 despite being in proc-macro.nix

Open therishidesai opened this issue 11 months ago • 0 comments

I am getting this error when I have a project with the rust time crate:

error: builder for '/nix/store/rkrrfg6by2fbim5a7vqj22i3kiznrsxy-rust_time-macros-0.1.1.drv' failed with exit code 1;
       last 8 log lines:
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/0066jydmydrgnmgw8n6id7ki4xx18did-crate-time-macros-0.1.1.tar.gz
       > source root is time-macros-0.1.1
       > setting SOURCE_DATE_EPOCH to timestamp 1601350743 of file time-macros-0.1.1/Cargo.toml
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > Cargo.toml says proc-macro = 0 but it is built with procMacro = 1

But it is in proc-macro.nix here

therishidesai avatar Mar 07 '24 23:03 therishidesai