Commit Graph

27 Commits

Author SHA1 Message Date
BlackBeans
ef7e852590 J: fixing init script
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.
2022-11-25 21:22:21 +01:00
Alyssa Ross
5330c0a1af
treewide: use isAarch where appropriate 2022-07-30 16:18:27 +00:00
AndersonTorres
403d5ae1a6 j: 902-release-b -> 904-beta-c
An almost complete rewrite was made. Now the detection of main features are made
by Nix code, emulating the detection of upstream source scripts.
2022-05-16 23:33:41 -03:00
Patrick Hilhorst
38499a3b08
j: 901f -> 902b 2021-05-01 21:58:31 +02:00
Nathan van Doorn
637fcf2593 j: fix build 2021-02-16 14:26:06 +00:00
Ben Siraphob
001c0cbe54 pkgs/development/interpreters: stdenv.lib -> lib 2021-01-23 20:29:03 +07:00
Luflosi
fbefec0d3e j: fix build on darwin
On darwin the compilation would fail with the following warning:
```
clang-7: error: argument unused during compilation: '-fno-strict-overflow' [-Werror,-Wunused-command-line-argument]
```
This error happens because the `-fno-strict-overflow` is passed to the compiler. To fix this, disable the `strictoverflow` hardening feature. Also see #39687.

ZHF: #97479
2020-09-09 15:09:26 -07:00
Michael Raskin
742c7340d2
Merge pull request #96494 from jitwit/j
j: j901e -> j901f
2020-09-03 05:22:07 +00:00
jitwit
422ef5ed78 j: j901e -> j901f 2020-08-27 15:51:28 -04:00
volth
cf7b63df5b gcc.arch: refactor, move tables under lib/ 2020-08-05 11:18:26 +00:00
volth
463db72e63 platform.gcc.arch: support for AMD CPUs 2020-08-05 02:32:48 +00:00
Jonas Höglund
20235a89f8 j: add avxSupport option 2020-05-14 00:51:13 +02:00
Aaron Ash
0c454c46f4 j: 807 -> 901
Upgrade j to 901.
Uses the newer build scripts in the make2 directory in the jsource repo.
2020-04-20 06:27:20 +10:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
volth
46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00
Patrick Hilhorst
91c6d352f9
j: 808 -> 807
"But Synthetica", I hear you say, "isn't that a downgrade?".

That's what I originally thought as well! So I emailed the  maintainer
for the only other repo that had J on version 808, BSD FreePorts. Since
they also didn't know what was going on here, I emailed Jsoftware
themselves. I got a lovely email back from Mr. Iverson (Jr. I presume?)
himself:

![The email](https://i.imgur.com/RidiODe.png)

So it has been confirmed from the horse's mouth that this _is_ the
correct version to be on.

I also re-enabled all the tests, since they all pass now, enabled the
build on ARM and Darwin (I don't have access to either kind of machine,
but I don't see why it wouldn't work), and added myself as a maintainer.
2018-10-03 19:59:23 +02:00
R. RyanTM
2061eefc38 j: 806 -> 808
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.

This update was made based on information from https://repology.org/metapackage/j/versions.

These checks were done:

- built on NixOS
- ran ‘/nix/store/s4j1rrnwdrrqdaiyqci4c0cqy3azlnl2-j-808/bin/jconsole -h’ got 0 exit code
- ran ‘/nix/store/s4j1rrnwdrrqdaiyqci4c0cqy3azlnl2-j-808/bin/jconsole --help’ got 0 exit code
- ran ‘/nix/store/s4j1rrnwdrrqdaiyqci4c0cqy3azlnl2-j-808/bin/jconsole help’ got 0 exit code
- found 808 with grep in /nix/store/s4j1rrnwdrrqdaiyqci4c0cqy3azlnl2-j-808
- directory tree listing: https://gist.github.com/3c6f38056c15de42a7496ff1f576064e
2018-04-20 04:42:42 -07:00
Orivej Desh
7b1489e1a1 j: fix build
/usr/bin/env does not exist in the sandbox.
2017-12-02 06:04:00 +00:00
Patrick Hilhorst
4bb9ffef6a j: 701_b -> 806 2017-11-30 17:14:33 +01:00
Aristid Breitkreuz
92de74293c J: add simple check phase, remove debug parts of build script 2016-06-18 15:18:06 +02:00
Aristid Breitkreuz
fd2d209fff J: mark as Linux-only until it has been tested on non-Linux 2016-06-18 14:40:09 +02:00
Aristid Breitkreuz
333a5bf42b J: fix build 2016-06-18 14:29:09 +02:00
Joachim Fasting
62a6499243 j: re-implement using mkDerivation 2015-03-24 14:05:25 +01:00
Maciek Starzyk
8989a32d34 j: Fix building libj.so 2014-12-10 22:43:42 +01:00
Patrick Mahoney
c46c37efb5 j: Relax platform restriction.
Builds and runs on x86_64-darwin.
2014-10-20 12:52:19 -05:00
Eelco Dolstra
c556a6ea46 * "ensureDir" -> "mkdir -p". "ensureDir" is a rather pointless
function, so obsolete it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=31644
2012-01-18 20:16:00 +00:00
Michael Raskin
4aacdee4e1 Adding J language
svn path=/nixpkgs/trunk/; revision=26398
2011-03-17 15:36:38 +00:00