mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-20 20:53:48 +00:00
ef7e852590
The startup script used by jconsole (/bin/profile.ijs) doesn't try very hard to understand the file hierarchy it lives in, and just did not work with NixOS. For reasons unknown, it Just Worked for some time, but finally broke with an actual error message every time you launch jconsole in recent versions of nixpkgs. This commit just overwrites all the heuristics J uses to find out where its installation files are, to point where they actually are put by the installer.
11 lines
484 B
Diff
11 lines
484 B
Diff
--- a/jlibrary/bin/profile.ijs 2022-11-23 18:45:50.049675025 +0100
|
|
+++ b/jlibrary/bin/profile.ijs 2022-11-23 18:47:43.798532581 +0100
|
|
@@ -13,6 +13,7 @@
|
|
fhs=. (FHS"_)^:(0=4!:0<'FHS')(5=systype)*.0=#1!:0<BINPATH,'/../system/util/boot.ijs'
|
|
install=. (0&~:fhs){::install;install,'/share/j/',omitversion{::'9.03';'0'
|
|
install=. (INSTALLROOT"_)^:(0=4!:0<'INSTALLROOT') install
|
|
+install=. bin,'/../share/j'
|
|
addons=. install,'/addons'
|
|
system=. install,'/system'
|
|
tools=. install,'/tools'
|