gnu: guile-commonmark: Install .scm files in the right place.
Previously they'd be installed in PREFIX/share/share/guile/site. * gnu/packages/guile.scm (guile-commonmark)[modules, snippet]: New fields.
This commit is contained in:
		
							parent
							
								
									6aa4f09eb6
								
							
						
					
					
						commit
						74a8b2cca1
					
				
					 1 changed files with 10 additions and 1 deletions
				
			
		| 
						 | 
					@ -1637,7 +1637,16 @@ you send to a FIFO file.")
 | 
				
			||||||
                                  "/" name "-" version ".tar.gz"))
 | 
					                                  "/" name "-" version ".tar.gz"))
 | 
				
			||||||
              (sha256
 | 
					              (sha256
 | 
				
			||||||
               (base32
 | 
					               (base32
 | 
				
			||||||
                "0kzclwkfijj8xka3g9kfj53y67c34ndfy84swdbw3j7y962ndxq6"))))
 | 
					                "0kzclwkfijj8xka3g9kfj53y67c34ndfy84swdbw3j7y962ndxq6"))
 | 
				
			||||||
 | 
					              (modules '((guix build utils)))
 | 
				
			||||||
 | 
					              (snippet
 | 
				
			||||||
 | 
					               ;; Install .scm files in the right place (see
 | 
				
			||||||
 | 
					               ;; <https://github.com/OrangeShark/guile-commonmark/issues/12>.)
 | 
				
			||||||
 | 
					               '(begin
 | 
				
			||||||
 | 
					                  (substitute* "Makefile.in"
 | 
				
			||||||
 | 
					                    (("^moddir = \\$\\(datadir\\)/share")
 | 
				
			||||||
 | 
					                     "moddir = $(datadir)"))
 | 
				
			||||||
 | 
					                  #t))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (inputs
 | 
					    (inputs
 | 
				
			||||||
     `(("guile" ,guile-2.2)))
 | 
					     `(("guile" ,guile-2.2)))
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue