Hello, Jim Newsome <j...@sporksmith.net> writes:
> I'm just getting started experimenting with guix and guile Great! > I'd like to add some explicit flags to the cmake invocation so that it > knows where to find glib. What do I substitute in for "get-store-path" > below? Pointers to how I might have found the appropriate helper or > approach on my own also appreciated. You may want to read about G-Expressions in Guix manual. See also <https://guix.gnu.org/fr/blog/2021/the-big-change/> for addition insight. > ``` > (define-public oniontrace > (package > (name "oniontrace") > (build-system cmake-build-system) > (inputs `(("glib", glib))) > (arguments > '(#:configure-flags > (list (string-append "-DCMAKE_EXTRA_INCLUDES=" > (get-store-path "glib") "/include")))) > ... > ``` I should be: (arguments (list #:configure-flags #~(list (string-append "-DCMAKE_EXTRA_INCLUDES=" #$glib "/include")))) Regards, -- Nicolas Goaziou