NixOS/nixpkgs — pull request #2572 by linquize (2014-05-08 12:37:50+00:00)
Title: cppcheck: Build the cfg files

Before that, cppcheck failed.
Failed to load std.cfg. Your Cppcheck installation is broken, please re-install. The Cppcheck binary was compiled without CFGDIR set.

So, make it with CFGDIR and copy cfg files to output.