You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
error: anonymous function at /nix/store/5l147bk6zqi6kgbs3b9gxma1g4yx2gbk-nixos-22.11.1530.09b46f2c1d8/nixos/pkgs/build-support/rust/import-cargo-lock.nix:3:1 called with unexpected argument 'allowBuiltinFetchGit'
#15
Open
bbigras opened this issue
Jan 16, 2023
· 3 comments
with 70ae61b I got this, when using pkgs.callPackage attic { inherit rustPlatform; };:
EDIT: using package.nix.
error: anonymous function at /nix/store/5l147bk6zqi6kgbs3b9gxma1g4yx2gbk-nixos-22.11.1530.09b46f2c1d8/nixos/pkgs/build-support/rust/import-cargo-lock.nix:3:1 called with unexpected argument 'allowBuiltinFetchGit'
at /nix/store/5l147bk6zqi6kgbs3b9gxma1g4yx2gbk-nixos-22.11.1530.09b46f2c1d8/nixos/pkgs/build-support/rust/build-rust-package/default.nix:64:36:
63| if cargoVendorDir != null then null
64| else if cargoLock != null then importCargoLock cargoLock
| ^
65| else fetchCargoTarball ({
(use '--show-trace' to show detailed location information)
Oops sorry, missed this one. allowBuiltinFetchGit was added very recently and our flake.nix is pinned to unstable. For distribution through this repo, the Crane-based attic package from the overlay should be used.
with 70ae61b I got this, when using
pkgs.callPackage attic { inherit rustPlatform; };
:EDIT: using
package.nix
.Originally posted by @bbigras in #12 (comment)
The text was updated successfully, but these errors were encountered: