On Wed, 22 Aug 2018 02:01:26 -0400
Leo Famulari <l...@famulari.name> wrote:
> Looking at some other Guix packages using the scons-build-system, it
> seems like the Sconscripts usually take a 'PREFIX' or 'prefix'
> argument that should contain the output directory in /gnu/store.
> 
> For example:
> 
> ------
>     (build-system scons-build-system)
>     (arguments
>      `(#:tests? #f  ;no tests
>        #:scons-flags
>        (list (string-append "prefix=" (assoc-ref %outputs "out")))
> ------

That fixed it. Thanks!

For other people reading this, the "prefix=" is an arbitrary argument
that the SConstruct has to look for in the ARGUMENTS dict. For example,
I used `ARGUMENTS.get('prefix', '/usr/local')`.

Regards,
Luther

Reply via email to