NixOS/nixpkgs — pull request #1127 by wkennington (2013-10-27 09:26:26+00:00)
Title: Fix the btrfs compiled process so that pthread_cancel is linked

Currently, the command `btrfs scrub start ` attempts to invoke the pthread_cancel routine and ends with an error message about it being missing. This prevents `btrfs scrub status` from maintaining proper statistics about the running scrub. This change forces the btrfs progs to be compiled against libgcc_s, which bring in the pthread_cancel command.