crane/pkgs
Ivan Petkov 5c8e7f732f
Fix callPackage scopes for build hooks so cross compiling works
* 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
2022-02-14 18:31:45 -08:00
..
configureCargoCommonVars.nix Fix callPackage scopes for build hooks so cross compiling works 2022-02-14 18:31:45 -08:00
configureCargoCommonVarsHook.sh Set CARGO_HOME in configureCargoCommonVarsHook 2021-12-28 16:00:50 -08:00
configureCargoVendoredDeps.nix Fix callPackage scopes for build hooks so cross compiling works 2022-02-14 18:31:45 -08:00
configureCargoVendoredDepsHook.sh configureCargoVendoredDepsHook: tweak logging 2022-02-06 17:17:47 -08:00
default.nix Fix callPackage scopes for build hooks so cross compiling works 2022-02-14 18:31:45 -08:00
inheritCargoArtifacts.nix Fix callPackage scopes for build hooks so cross compiling works 2022-02-14 18:31:45 -08:00
inheritCargoArtifactsHook.sh Update inheritCargoArtifactsHook to be more flexible 2022-01-01 11:08:36 -08:00
installCargoArtifacts.nix Fix callPackage scopes for build hooks so cross compiling works 2022-02-14 18:31:45 -08:00
installCargoArtifactsHook.sh Rename doCopyTargetToOutput to doInstallCargoArtifacts 2022-01-08 17:14:05 -08:00
installFromCargoBuildLog.nix Fix callPackage scopes for build hooks so cross compiling works 2022-02-14 18:31:45 -08:00
installFromCargoBuildLogHook.sh Fix some formatting 2022-01-15 19:56:46 -08:00
remapSourcePathPrefix.nix Fix callPackage scopes for build hooks so cross compiling works 2022-02-14 18:31:45 -08:00
remapSourcePathPrefixHook.sh Make remapSourcePathPrefixHook potentially customizable 2021-12-31 18:18:19 -08:00