crane/lib
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
..
buildDepsOnly.nix Form paths by concatenating a string suffix not a path 2022-02-13 12:50:43 -08:00
buildPackage.nix Rename doCopyTargetToOutput to doInstallCargoArtifacts 2022-01-08 17:14:05 -08:00
cargoBuild.nix Inline Cargo.{toml,lock} checks in buildDepsOnly 2022-01-16 18:24:13 -08:00
cargoClippy.nix cargoClippy: change behavior to install cargo artifacts by default 2022-02-13 09:34:26 -08:00
cargoFmt.nix cargoFmt: change behavior to install cargo artifacts by default 2022-02-10 21:02:48 -08:00
cargoTarpaulin.nix cargoTarpaulin: change behavior to install cargo artifacts by default 2022-02-13 09:36:31 -08:00
cleanCargoToml.nix cleanCargoToml: retain crate-type 2021-12-31 18:40:01 -08:00
crateNameFromCargoToml.nix crateNameFromCargoToml: use 0.0.1 as fallback version 2022-01-15 19:58:31 -08:00
default.nix Fix callPackage scopes for build hooks so cross compiling works 2022-02-14 18:31:45 -08:00
downloadCargoPackage.nix chore: switch to runCommandLocal to reduce network pressure 2022-01-30 16:10:41 -08:00
downloadCargoPackageFromGit.nix Handle case where a git repo contains multiple crates 2022-02-10 20:32:31 -08:00
findCargoFiles.nix Optimize searching for cargo configuration files 2022-01-30 23:58:56 +00:00
mkCargoDerivation.nix Rename doCopyTargetToOutput to doInstallCargoArtifacts 2022-01-08 17:14:05 -08:00
mkDummySrc.nix Form paths by concatenating a string suffix not a path 2022-02-13 12:50:43 -08:00
registryFromDownloadUrl.nix Make crate downloads aware of alternative registries 2022-01-30 23:58:56 +00:00
registryFromGitIndex.nix Rename registryFromGitIndex input to indexUrl for consistency 2022-01-30 23:58:56 +00:00
urlForCargoPackage.nix Make crate downloads aware of alternative registries 2022-01-30 23:58:56 +00:00
vendorCargoDeps.nix Add support for git dependencies 2022-02-07 20:03:12 -08:00
vendorCargoRegistries.nix Add test that source prefix remapping works 2022-02-09 20:54:56 -08:00
vendorGitDeps.nix Handle case where a git repo contains multiple crates 2022-02-10 20:32:31 -08:00
writeTOML.nix Add checks for cleanCargoToml 2021-12-29 19:26:55 -08:00