mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 19:33:03 +00:00
17 lines
606 B
Diff
17 lines
606 B
Diff
Shrink closure size by avoiding paths embedded from configure call.
|
|
|
|
https://github.com/NixOS/nixpkgs/issues/175693
|
|
--- a/daemon/buildinfo.c
|
|
+++ b/daemon/buildinfo.c
|
|
@@ -247,7 +247,9 @@ void print_build_info(void) {
|
|
char *prebuilt_distro = NULL;
|
|
get_install_type(&install_type, &prebuilt_arch, &prebuilt_distro);
|
|
|
|
- printf("Configure options: %s\n", CONFIGURE_COMMAND);
|
|
+ // To minimize closure size do not persist configure options
|
|
+ // with build-time inputs.
|
|
+ printf("Configure options: REMOVED\n");
|
|
|
|
if (install_type == NULL) {
|
|
printf("Install type: unknown\n");
|