$ nix-env -i strategoxt-packages-305503
You can use this one to install everything:
$ nix-env -i strategoxt strategoxt-utils stratego-shellNote that the stratego-libraries are not installed, they are for other platforms. And this one to update everything:
$ nix-channel --update $ nix-env -u '*'
The first thing that has to be done is the correct setting of the PKG_CONFIG_PATH-variable.
$ export PKG_CONFIG_PATH=~/.nix-profile/lib/pkgconfigWhen this is not done the configure script will not find the ATerm, SDF or StrategoXT-files.
The rest of the repository installation is straight-forward, just use the following sequence of commands in the location of
your choice.
(The <repository> is https://svn.strategoxt.org/repos)
$ svn checkout <repository>/psat/php-*/trunk ./php-*/ $ cd php-* $ ./bootstrap $ ./configure --enable-bootstrap $ make $ make check $ make installThis sequence gets the latests source-code, configures (the --enable-bootstrap is required!) and builds, checks and installs everything.
There are also highlighters available for Context. There is one for SDF and one for testsuites.