Hi,
François Perrad <[email protected]> writes:
> + phases = "unpackPhase checkPhase installPhase fixupPhase";
> + doCheck = true;
> + installFlags = "install DESTDIR=\${out}";
> + postInstall = ''
> + export LUA_PATH="$out/share/lua/5.1/?.lua;$LUA_PATH"
> + '';
Exporting variables in ‘postInstall’ is probably useless since nothing
important happens after ‘installPhase’.
I think what you want is a ‘setup hook’. See, e.g., guile/setup-hook.sh.
Hope this helps,
Ludo’.
_______________________________________________
nix-dev mailing list
[email protected]
https://mail.cs.uu.nl/mailman/listinfo/nix-dev