Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1Shrink closure size by avoiding paths embedded from configure call. 2 3https://github.com/NixOS/nixpkgs/issues/175693 4--- a/daemon/buildinfo.c 5+++ b/daemon/buildinfo.c 6@@ -247,7 +247,9 @@ void print_build_info(void) { 7 char *prebuilt_distro = NULL; 8 get_install_type(&install_type, &prebuilt_arch, &prebuilt_distro); 9 10- printf("Configure options: %s\n", CONFIGURE_COMMAND); 11+ // To minimize closure size do not persist configure options 12+ // with build-time inputs. 13+ printf("Configure options: REMOVED\n"); 14 15 if (install_type == NULL) { 16 printf("Install type: unknown\n");