NixOS / nixpkgs

Nix Packages collection & NixOS
MIT License
18.27k stars 14.25k forks source link

[Backport release-24.11] nix-init: fix build on x86_64-darwin #358052

Closed github-actions[bot] closed 4 hours ago

github-actions[bot] commented 10 hours ago

Bot-based backport to release-24.11, triggered by a label in #356960.

Aleksanaa commented 4 hours ago

@ofborg build nix-init

kachick commented 4 hours ago
       > source = "git+https://github.com/rust-lang/cargo.git?rev=d585829270c758468b9fd20b2b7fd3d4f4557763#d585829270c758468b9fd20b2b7fd3d4f4557763"
       > source = "git+https://github.com/rust-lang/cargo.git?rev=d585829270c758468b9fd20b2b7fd3d4f4557763#d585829270c758468b9fd20b2b7fd3d4f4557763"
       >
       > ERROR: The Cargo.lock contains git dependencies
       >
       > This is currently not supported in the fixed-output derivation fetcher.
       > Use cargoLock.lockFile / importCargoLock instead.
       >
       For full logs, run 'nix-store -l /nix/store/n90srb5a5fhm5gic72qwn9i31gawm4iy-nix-init-0.3.2-vendor.tar.gz.drv'.
error: 1 dependencies of derivation '/nix/store/8d4si6dsnl1k9l0k9g50y6kvm1jcsfbw-nix-init-0.3.2.drv' failed to build

Oh... is useFetchCargoVendor not available in current release-24.11? Sorry, I didn't check it :bow: