attic
attic copied to clipboard
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'
with 70ae61b59114982a2685f67b35405f7ca0bf5b6f 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)
Originally posted by @bbigras in https://github.com/zhaofengli/attic/issues/12#issuecomment-1383285319
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.
Do I only need useFlakeCompatOverlay = true
?
I got error: package
sea-orm v0.10.6 cannot be built because it requires rustc 1.65 or newer, while the currently active rustc version is 1.64.0
.
I got error: package sea-orm v0.10.6 cannot be built because it requires rustc 1.65 or newer, while the currently active rustc version is 1.64.0.
Looks like sea-orm
now depends on Rust 1.65 for GATs. I've added a temporary workaround in 99202303be8e012db84f2beb0e371a4cccb84f11 before 23.05 is stabilized.