gnu: khal: Fix build.
The old one was plain wrong and only worked by luck since the old python build system did manipulate PYTHONPATH. * gnu/packages/calendar.scm(khal)[phase manpage]: Use add-installed-pythonpath.
This commit is contained in:
		
							parent
							
								
									632735f215
								
							
						
					
					
						commit
						3221207417
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		| 
						 | 
				
			
			@ -96,10 +96,9 @@ data units.")
 | 
			
		|||
     `(#:phases (modify-phases %standard-phases
 | 
			
		||||
        ;; Building the manpage requires khal to be installed.
 | 
			
		||||
        (add-after 'install 'manpage
 | 
			
		||||
          (lambda* (#:key outputs #:allow-other-keys)
 | 
			
		||||
            (setenv "PYTHONPATH"
 | 
			
		||||
                    (string-append
 | 
			
		||||
                      (getenv "PYTHONPATH") ":" (assoc-ref outputs "out")))
 | 
			
		||||
          (lambda* (#:key inputs outputs #:allow-other-keys)
 | 
			
		||||
            ;; Make installed package available for running the tests
 | 
			
		||||
            (add-installed-pythonpath inputs outputs)
 | 
			
		||||
            (zero? (system* "make" "--directory=doc/" "man"))
 | 
			
		||||
            (install-file
 | 
			
		||||
              "doc/build/man/khal.1"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue