l...@gnu.org (Ludovic Courtès) skribis: > Currently, there are a couple of packages that hard-code site/2.0. They > should be changed to use: > > (string-append "--with-site-dir=.../site/" (effective-version))
Actually this won’t work because the Guile that runs the build script is not necessarily the same as the one used to build the thing. So we probably need a helper function in (guix build utils) that runs “guile -c '(display (effective-version))'” and returns that. How does that sound? Ludo’.