lix/src/libstore/build
Matthew Bauer 4894e567fb Don’t readDerivation if impure derivations feature is disabled
readDerivation is pretty slow, and while it may not be significant for
some use cases, on things like ghc-nix where we have thousands of
derivations is really slows things down.

So, this just doesn’t do the impure derivation check if the impure
derivation experimental feature is disabled. Perhaps we could cache
the result of isPure() and keep the check, but this is a quick fix to
for the slowdown introduced with impure derivations features in 2.8.0.
2022-09-02 11:46:34 -05:00
..
derivation-goal.cc Don’t readDerivation if impure derivations feature is disabled 2022-09-02 11:46:34 -05:00
derivation-goal.hh Add support for impure derivations 2022-03-31 13:43:20 +02:00
drv-output-substitution-goal.cc Fix empty 'nix copy' error message 2022-04-06 12:43:53 +02:00
drv-output-substitution-goal.hh Remove std::string alias (for real this time) 2022-02-25 16:13:02 +01:00
entry-points.cc BuildResult: Use DerivedPath 2022-03-09 12:25:35 +01:00
goal.cc Random cleanup 2022-03-24 23:24:10 +01:00
goal.hh Random cleanup 2022-03-24 23:09:43 +01:00
hook-instance.cc Fix build-remote in nix-static 2022-06-23 01:32:46 +02:00
hook-instance.hh Trim hook-instance.hh 2020-10-12 17:16:13 +00:00
local-derivation-goal.cc don't read outputs into memory for output rewriting 2022-08-19 11:26:26 +02:00
local-derivation-goal.hh Add Store::buildPathsWithResults() 2022-03-08 19:56:34 +01:00
substitution-goal.cc Fix typo 2022-06-23 14:22:11 +02:00
substitution-goal.hh Fix empty 'nix copy' error message 2022-04-06 12:43:53 +02:00
worker.cc Fix compiler warning 2022-05-04 11:31:39 +02:00
worker.hh Remove std::set alias 2022-02-21 16:28:23 +01:00