gnu: criu: Delete static libraries.
* gnu/packages/virtualization.scm (criu)[arguments]: Add a new 'delete-static-libraries phase.
This commit is contained in:
		
							parent
							
								
									b4d02219da
								
							
						
					
					
						commit
						a47ce1e0e7
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -1623,7 +1623,12 @@ domains, their live performance and resource utilization statistics.") | |||
|                                          "/site-packages:" | ||||
|                                          (getenv "PYTHONPATH")))) | ||||
|                (wrap-program (string-append out "/bin/crit") | ||||
|                  `("PYTHONPATH" ":" prefix (,path))))))))) | ||||
|                  `("PYTHONPATH" ":" prefix (,path)))))) | ||||
|          (add-after 'install 'delete-static-libraries | ||||
|            ;; Not building/installing these at all doesn't seem to be supported. | ||||
|            (lambda* (#:key outputs #:allow-other-keys) | ||||
|              (let ((out (assoc-ref outputs "out"))) | ||||
|                (for-each delete-file (find-files out "\\.a$")))))))) | ||||
|     (inputs | ||||
|      `(("protobuf" ,protobuf) | ||||
|        ("python" ,python-2) | ||||
|  |  | |||
		Reference in a new issue