diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2022-11-25 20:44:26 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-25 20:44:26 -0300 |
commit | 32802abcfd5de6ba3bd099b2e3fcd3f6b819c617 (patch) | |
tree | 006070663032e5769638c74b03e8ac64baef1386 | |
parent | 66df6c7b465885aed98e642658f9163e1918327b (diff) | |
parent | ef7e852590269426404f3704217ae1f3a8cd1888 (diff) | |
download | nixpkgs-32802abcfd5de6ba3bd099b2e3fcd3f6b819c617.tar nixpkgs-32802abcfd5de6ba3bd099b2e3fcd3f6b819c617.tar.gz nixpkgs-32802abcfd5de6ba3bd099b2e3fcd3f6b819c617.tar.bz2 nixpkgs-32802abcfd5de6ba3bd099b2e3fcd3f6b819c617.tar.lz nixpkgs-32802abcfd5de6ba3bd099b2e3fcd3f6b819c617.tar.xz nixpkgs-32802abcfd5de6ba3bd099b2e3fcd3f6b819c617.tar.zst nixpkgs-32802abcfd5de6ba3bd099b2e3fcd3f6b819c617.zip |
Merge pull request #202870 from jthulhu/fix-j-profile
J: fixing init script
-rw-r--r-- | pkgs/development/interpreters/j/default.nix | 4 | ||||
-rw-r--r-- | pkgs/development/interpreters/j/fix-install-path.patch | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/interpreters/j/default.nix b/pkgs/development/interpreters/j/default.nix index 5e67986ac10..2da499352b3 100644 --- a/pkgs/development/interpreters/j/default.nix +++ b/pkgs/development/interpreters/j/default.nix @@ -25,6 +25,10 @@ stdenv.mkDerivation rec { bc ]; + patches = [ + ./fix-install-path.patch + ]; + dontConfigure = true; # emulating build_all.sh configuration variables diff --git a/pkgs/development/interpreters/j/fix-install-path.patch b/pkgs/development/interpreters/j/fix-install-path.patch new file mode 100644 index 00000000000..08f3f98962c --- /dev/null +++ b/pkgs/development/interpreters/j/fix-install-path.patch @@ -0,0 +1,10 @@ +--- 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' |