diff --git a/gnu/packages/pretty-print.scm b/gnu/packages/pretty-print.scm index e8baefa1d4..6edfba95cc 100644 --- a/gnu/packages/pretty-print.scm +++ b/gnu/packages/pretty-print.scm @@ -27,6 +27,7 @@ (define-module (gnu packages pretty-print) #:use-module (guix download) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) + #:use-module (guix utils) #:use-module (gnu packages) #:use-module (gnu packages ghostscript) #:use-module (gnu packages groff) @@ -266,7 +267,8 @@ (define-public highlight (lambda _ (substitute* "src/makefile" (("(pkg-config.*)lua" _ prefix) - (string-append prefix "lua-5.3"))) + (string-append prefix "lua-" ,(version-major+minor + (package-version lua))))) #t))))) (inputs `(("lua" ,lua)