This reverts commit 44dc31ba. The patch has been applied in 4.9.78, so no need to have this in nixpkgs anymore.