rekahsoft-gnu: emacs-org-html-themes: adjust setup file paths
This commit is contained in:
parent
2b6a03e633
commit
e347da4c15
@ -818,7 +818,22 @@ dashboard!")
|
||||
"1jzkfsq4i4w2cgnlaw8cxa0b33rf8gy82bkbvl52hzlzhp68krgv"))))
|
||||
(build-system copy-build-system)
|
||||
(arguments
|
||||
`(#:install-plan
|
||||
`(#:phases
|
||||
(modify-phases %standard-phases
|
||||
(add-after 'install 'hardcode-setup-file-paths
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(src (string-append out "/var/org-themes/org-html-themes/src/")))
|
||||
(for-each
|
||||
(lambda (setup-file)
|
||||
(substitute* setup-file
|
||||
(("src=\"src/")
|
||||
(string-append "src=\"" src))
|
||||
(("href=\"src/")
|
||||
(string-append "href=\"" src))))
|
||||
(find-files out "\\.setup$"))
|
||||
#t))))
|
||||
#:install-plan
|
||||
'(("src" "var/org-themes/org-html-themes/src")
|
||||
("org/" "var/org-themes/org-html-themes"
|
||||
#:include-regexp ("-local\\.setup$")))))
|
||||
|
Loading…
Reference in New Issue
Block a user