Policy on checks/logic in stdenv.mkDerivation #29847
Labels
0.kind: question
2.status: stale
https://github.com/NixOS/nixpkgs/blob/master/.github/STALE-BOT.md
6.topic: policy discussion
According to #17886 (comment) and #25304 (comment), logic in
mkDerivation
seems discouraged on the basis of increased evaluation time. However, since 17.09 we seem to have grown at least these new ones:nixpkgs/pkgs/stdenv/generic/make-derivation.nix
Lines 50 to 57 in 51179c6
and
nixpkgs/pkgs/stdenv/generic/make-derivation.nix
Lines 114 to 121 in 51179c6
I don't know if "bloat" in
mkDerivation
is still considered a problem or not, but if it is this probably deserves documenting somewhere and making sure that the policy is applied consistently.The text was updated successfully, but these errors were encountered: