-
-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Description
I have the following flake
{
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/release-24.05";
flake-utils.url = "github:numtide/flake-utils";
fenix.url = "github:nix-community/fenix";
fenix.inputs.nixpkgs.follows = "nixpkgs";
};
outputs =
{ ... }@inputs:
inputs.flake-utils.lib.eachSystem (with inputs.flake-utils.lib.system; [ x86_64-linux ]) (
system:
let
pkgs = inputs.nixpkgs.legacyPackages.${system}.extend inputs.fenix.overlays.default;
inherit (pkgs) lib;
in
{
devShell = pkgs.mkShell rec {
packages = with pkgs; [
(fenix.complete.withComponents [
"cargo"
"clippy"
"rust-src"
"rustc"
"rustfmt"
"rust-analyzer"
])
ruff
imagemagick
fontconfig
freetype
clang
llvmPackages.clang
pkg-config
leptonica
tesseract
openssl
sqlite
];
LD_LIBRARY_PATH = lib.makeLibraryPath packages;
LIBCLANG_PATH = "${pkgs.llvmPackages.libclang.lib}/lib";
};
}
);
}Trying to run cargo check --all-targets on a project split into a lib and a bunch of binaries yields errors like failed to open rmeta metadata: '/home/.../projects/.../target/debug/deps/libtoml_edit-966d927d27fec036.rmeta'. This looks like the same issue as this crane FAQ entry, although I'm installing all the things together, so I'm confused as to why it happens.
Metadata
Metadata
Assignees
Labels
No labels