mirror of
https://github.com/ipetkov/crane.git
synced 2024-11-22 23:17:15 +03:00
5c8e7f732f
* Previously all build hooks were instantiated in a single `callPackages` call which led to several issues: - changes via `lib.overrideScope'` were ignored because the build hooks were only ever instantiated with the nixpkgs instance of our flake (not whatever overlays the caller may have made) - the pkgs splicing was not done quite right, meaning when we pull in the build hooks as nativeBuildInputs the splicing wasn't picking up the overridden versions of `cargo` but was instead trying to recompile the nixpkgs version each time
8 lines
113 B
Nix
8 lines
113 B
Nix
{ makeSetupHook
|
|
}:
|
|
|
|
makeSetupHook
|
|
{
|
|
name = "configureCargoCommonVarsHook";
|
|
} ./configureCargoCommonVarsHook.sh
|