crane/pkgs
Ivan Petkov fc545e6784
hooks: do not use substitutions for needed tools (#128)
* Using substitutions for build hooks is a great way to ensure the
  necessary utility is present without making the caller supply it to
  the builder, except it makes things confusing when applying overrides
* For example, the `installFromCargoBuildLog` hook was inadvertently
  ignoring any `cargo` overrides applied to the entire `lib`
  instantiation
* By removing all explicit substations we also side step the issue of
  trying to select the correct build/host/target version of the tool and
  use whatever is present in the build environment
2022-10-09 02:03:05 +00:00
..
cargoHelperFunctions.sh Add cargoHelperFunctionsHook 2022-07-23 11:11:36 -07:00
cargoHelperFunctionsHook.nix Add cargoHelperFunctionsHook 2022-07-23 11:11:36 -07:00
configureCargoCommonVars.nix Fix callPackage scopes for build hooks so cross compiling works 2022-02-14 18:31:45 -08:00
configureCargoCommonVarsHook.sh Correct docs on disabling CARGO_PROFILE from being used 2022-07-23 14:11:53 -07: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 Improve stripping references to vendored sources (#120) 2022-09-24 23:45:56 +00:00
inheritCargoArtifacts.nix hooks: do not use substitutions for needed tools (#128) 2022-10-09 02:03:05 +00:00
inheritCargoArtifactsHook.sh hooks: do not use substitutions for needed tools (#128) 2022-10-09 02:03:05 +00:00
installCargoArtifacts.nix hooks: do not use substitutions for needed tools (#128) 2022-10-09 02:03:05 +00:00
installCargoArtifactsHook.sh hooks: do not use substitutions for needed tools (#128) 2022-10-09 02:03:05 +00:00
installFromCargoBuildLog.nix hooks: do not use substitutions for needed tools (#128) 2022-10-09 02:03:05 +00:00
installFromCargoBuildLogHook.sh hooks: do not use substitutions for needed tools (#128) 2022-10-09 02:03:05 +00:00
removeReferencesToVendoredSources.nix hooks: do not use substitutions for needed tools (#128) 2022-10-09 02:03:05 +00:00
removeReferencesToVendoredSourcesHook.sh Improve stripping references to vendored sources (#120) 2022-09-24 23:45:56 +00:00