Also relevant to #1804: https://github.com/NixOS/nixpkgs/issues/2146 (especially the comments).