You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[nix-local-build] Flag application to local packages, --disable-optimization and vendoring #3334
I may pass --disable-optimization because I want my builds to be as fast as possible
The set of packages I rebuild frequently may be a superset of the local packages, because I may vendor a package. For example, in Cabal itself, we have the dependency chain cabal-install depends on hackage-security depends on Cabal; Cabal and cabal-install are local, but hackage-security counts as part of the rebuild set.
Now the question: does cabal new-build --disable-optimization exe:cabal on the Cabal project build hackage-security with optimization or not? The answer, it DOES build it with optimization. This is slightly surprising to say the least.
Activity
ezyang commentedon Aug 28, 2016
Subsumed by #3725.