Describe the bug
Ref #904
Reproduction
Use craneLib.buildPackage to build a rust package, and then add it to inputsFrom in a craneLib.devShell to get its inputs:
let
packages = {
my-pkg = crane.buildPackage (individualCrateArgs // {
nativeBuildInputs = with pkgs; [
wasm-pack
wasm-bindgen-cli_0_2_114
binaryen
];
});
};
in
crane.devShell {
inherit checks;
inputsFrom = builtins.attrValues packages;
};