The j package in nixpkgs does not include Qt IDE. This project packages binaries from upstream.
The IDE (jqt
) was written in a way that it must be place in the same directory with jconsole
and other *.so files.
Therefore this project has them all in a bin
directory. (I tried to keep jconsole and jqt in separate packages then combine them back in a FHSUserEnv but it doesn't work).
Though jqt
binaries and libraries is included, upstream tarball doesn't contain any *.ijs files, so one must download them using j package manager. You will see complaints that jqt script files are missing when you first start the IDE (jqt
).
I only have nix build scripts for Linux x64 and ARM (raspi and alike) here. People using other arch should adapt the script.
J package manager does not work out of the box in nix because of read-only file system. You must override the defaut directory paths to directories under your user's home. Here's how:
Open jqt
, go to the menu Edit
-> Config
-> Folders
. A file folders.cfg
is open up. Replace its content with the one with the same name provided here.
Quit jqt
. Start jconsole
to install the missing script for jqt
with:
install 'qtide'
.
Now you can start jqt
again. No more complaints. Also, the package manager included in the IDE should work now.
Enjoy!
Write a script to automate the process of setting j config's folders, so that after install the nix package, one would run jqt-init-user
and have everything ready.