Skip to content

bug: Adding crane built package to inputsFrom in devShell produces postBuildInstallFromCargoBuildLogOutTempXXX #997

@eureka-cpu

Description

@eureka-cpu

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;
  };

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds reproductionMissing a flake which easily reproduces the problem

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions