gnu: ansible: Use GUIX_PYTHONPATH in the search path specification.
* gnu/packages/admin.scm (ansible)[native-search-paths]: Use GUIX_PYTHONPATH.
This commit is contained in:
		
							parent
							
								
									7d136be00f
								
							
						
					
					
						commit
						e91a525858
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		| 
						 | 
					@ -2706,15 +2706,15 @@ provides the following commands:
 | 
				
			||||||
    (build-system python-build-system)
 | 
					    (build-system python-build-system)
 | 
				
			||||||
    (propagated-inputs
 | 
					    (propagated-inputs
 | 
				
			||||||
     (list ansible-core))
 | 
					     (list ansible-core))
 | 
				
			||||||
    ;; The Ansible collections are found by ansible-core via PYTHONPATH; the
 | 
					    ;; The Ansible collections are found by ansible-core via the Python search
 | 
				
			||||||
    ;; following search path ensures that they are found even when Python is
 | 
					    ;; path; the following search path ensures that they are found even when
 | 
				
			||||||
    ;; not present in the profile.
 | 
					    ;; Python is not present in the profile.
 | 
				
			||||||
    (native-search-paths
 | 
					    (native-search-paths
 | 
				
			||||||
     ;; XXX: Attempting to use (package-native-search-paths python)
 | 
					     ;; XXX: Attempting to use (package-native-search-paths python)
 | 
				
			||||||
     ;; here would cause an error about python being an unbound
 | 
					     ;; here would cause an error about python being an unbound
 | 
				
			||||||
     ;; variable in the tests/cpan.scm test.
 | 
					     ;; variable in the tests/cpan.scm test.
 | 
				
			||||||
     (list (search-path-specification
 | 
					     (list (search-path-specification
 | 
				
			||||||
            (variable "PYTHONPATH")
 | 
					            (variable "GUIX_PYTHONPATH")
 | 
				
			||||||
            (files (list "lib/python3.9/site-packages")))))
 | 
					            (files (list "lib/python3.9/site-packages")))))
 | 
				
			||||||
    (home-page "https://www.ansible.com/")
 | 
					    (home-page "https://www.ansible.com/")
 | 
				
			||||||
    (synopsis "Radically simple IT automation")
 | 
					    (synopsis "Radically simple IT automation")
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue