crane.nix: Suppress warning of missing version attribute in Cargo.toml (#53)

This commit is contained in:
Lin Yinfeng 2023-06-13 08:20:11 +08:00 committed by GitHub
parent b1fb790b5f
commit 2568e6df7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -46,7 +46,7 @@ let
cargoArtifacts = craneLib.buildDepsOnly {
pname = "attic";
inherit src nativeBuildInputs buildInputs;
inherit src version nativeBuildInputs buildInputs;
# By default it's "use-symlink", which causes Crane's `inheritCargoArtifactsHook`
# to copy the artifacts using `cp --no-preserve=mode` which breaks the executable