'--dry-run' no longer implies '--no-grafts'.
* guix/scripts/archive.scm (%options): "dry-run" option no longer adds 'graft? #f to RESULT. * guix/scripts/environment.scm (%options): Likewise. * guix/scripts/pack.scm (%options): Likewise. * guix/scripts/package.scm (%options): Likewise. * guix/scripts/pull.scm (%options): Likewise. * guix/scripts/system.scm (%options): Likewise.
This commit is contained in:
		
							parent
							
								
									710854304b
								
							
						
					
					
						commit
						131f50cdc9
					
				
					 8 changed files with 8 additions and 9 deletions
				
			
		|  | @ -183,7 +183,7 @@ Export/import one or more packages from/to the store.\n")) | |||
|                                  (alist-delete 'verbosity result))))) | ||||
|          (option '(#\n "dry-run") #f #f | ||||
|                  (lambda (opt name arg result) | ||||
|                    (alist-cons 'dry-run? #t (alist-cons 'graft? #f result)))) | ||||
|                    (alist-cons 'dry-run? #t result))) | ||||
| 
 | ||||
|          %standard-build-options)) | ||||
| 
 | ||||
|  |  | |||
|  | @ -778,7 +778,7 @@ must be one of 'package', 'all', or 'transitive'~%") | |||
|                    (alist-cons 'manifest arg result))) | ||||
|          (option '(#\n "dry-run") #f #f | ||||
|                  (lambda (opt name arg result) | ||||
|                    (alist-cons 'dry-run? #t (alist-cons 'graft? #f result)))) | ||||
|                    (alist-cons 'dry-run? #t result))) | ||||
|          (option '(#\r "root") #t #f | ||||
|                  (lambda (opt name arg result) | ||||
|                    (alist-cons 'gc-root arg result))) | ||||
|  |  | |||
|  | @ -135,7 +135,7 @@ Copy ITEMS to or from the specified host over SSH.\n")) | |||
|                                  (alist-delete 'verbosity result))))) | ||||
|          (option '(#\n "dry-run") #f #f | ||||
|                  (lambda (opt name arg result) | ||||
|                    (alist-cons 'dry-run? #t (alist-cons 'graft? #f result)))) | ||||
|                    (alist-cons 'dry-run? #t result))) | ||||
| 
 | ||||
|          (option '(#\h "help") #f #f | ||||
|                  (lambda args | ||||
|  |  | |||
|  | @ -256,7 +256,7 @@ use '--preserve' instead~%")) | |||
|                    (alist-cons 'ad-hoc? #t result))) | ||||
|          (option '(#\n "dry-run") #f #f | ||||
|                  (lambda (opt name arg result) | ||||
|                    (alist-cons 'dry-run? #t (alist-cons 'graft? #f result)))) | ||||
|                    (alist-cons 'dry-run? #t result))) | ||||
|          (option '(#\s "system") #t #f | ||||
|                  (lambda (opt name arg result) | ||||
|                    (alist-cons 'system arg | ||||
|  |  | |||
|  | @ -823,7 +823,7 @@ last resort for relocation." | |||
| 
 | ||||
|          (option '(#\n "dry-run") #f #f | ||||
|                  (lambda (opt name arg result) | ||||
|                    (alist-cons 'dry-run? #t (alist-cons 'graft? #f result)))) | ||||
|                    (alist-cons 'dry-run? #t result))) | ||||
|          (option '(#\d "derivation") #f #f | ||||
|                  (lambda (opt name arg result) | ||||
|                    (alist-cons 'derivation-only? #t result))) | ||||
|  |  | |||
|  | @ -489,8 +489,7 @@ kind of search path~%") | |||
|                            #f))) | ||||
|          (option '(#\n "dry-run") #f #f | ||||
|                  (lambda (opt name arg result arg-handler) | ||||
|                    (values (alist-cons 'dry-run? #t | ||||
|                                        (alist-cons 'graft? #f result)) | ||||
|                    (values (alist-cons 'dry-run? #t result) | ||||
|                            #f))) | ||||
|          (option '(#\v "verbosity") #t #f | ||||
|                  (lambda (opt name arg result arg-handler) | ||||
|  |  | |||
|  | @ -168,7 +168,7 @@ Download and deploy the latest version of Guix.\n")) | |||
|                                (alist-delete 'system result eq?)))) | ||||
|          (option '(#\n "dry-run") #f #f | ||||
|                  (lambda (opt name arg result) | ||||
|                    (alist-cons 'dry-run? #t (alist-cons 'graft? #f result)))) | ||||
|                    (alist-cons 'dry-run? #t result))) | ||||
|          (option '(#\v "verbosity") #t #f | ||||
|                  (lambda (opt name arg result) | ||||
|                    (let ((level (string->number* arg))) | ||||
|  |  | |||
|  | @ -1041,7 +1041,7 @@ Some ACTIONS support additional ARGS.\n")) | |||
| 
 | ||||
|          (option '(#\n "dry-run") #f #f | ||||
|                  (lambda (opt name arg result) | ||||
|                    (alist-cons 'dry-run? #t (alist-cons 'graft? #f result)))) | ||||
|                    (alist-cons 'dry-run? #t result))) | ||||
|          (option '(#\v "verbosity") #t #f | ||||
|                  (lambda (opt name arg result) | ||||
|                    (let ((level (string->number* arg))) | ||||
|  |  | |||
		Reference in a new issue