diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 8f42095b407f8423799d5b72fae75805eb4fa7b6..5639d85899c1d7692349f67d53c2d50f0b560bbb 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -22,4 +22,5 @@ EXTRA_DIST = nix-collect-garbage.in \
   nix-channel.in \
   readmanifest.pm.in \
   nix-build.in \
-  download-using-manifests.pl.in
+  download-using-manifests.pl.in \
+  generate-patches.in