Commit Graph

27 Commits

Author SHA1 Message Date
Gustavo Coutinho de Souza
fbbff51a1c
hare: unstable-2023-04-23 -> unstable-2023-10-22; harec: unstable-2023-04-23 -> unstable-2023-10-23
And also the following refactoring:

hare:

1. Replace `NIX_BUILD_TOP` usage with `mktemp`
2. Enable parallel building
3. Get rid of `config-template.mk`, by using `makeFlagsArray` instead
4. Move `wrapProgram` call to `postFixup`
5. Set the `LOCALVER` environment variable to `nix`, so that the `hare
   version` command outputs `dev-nix`[1]
6. Set `meta` attribute `mainProgram`
7. Make the package accessible through `all-packages.nix` instead of
   `aliases.nix`
8. Move package path from `pkgs/development/compilers/hare/hare` to
   `pkgs/development/compilers/hare`, since the scope is now made at
   `pkgs/top-level/hare-packages.nix`

harec:

1. Remove `hardeningDisable = [ "fortify" ];`, since both harec and hare
   compile normally with it enabled
2. Enable parallel building
3. Set `meta` attribute `mainProgram`
4. Make the package accessible through `all-packages.nix` instead of
   `aliases.nix`
5. Move package path from `pkgs/development/compilers/hare/harec` to
   `pkgs/development/compilers/harec`, since the scope is now made at
   `pkgs/top-level/hare-packages.nix`

harePackages:

1. Move hare packages scope from
   `pkgs/development/compilers/hare/default.nix` to
   `pkgs/top-level/hare-packages.nix`
2. Remove `hare` and `harec` from `aliases.nix`, moving them to
   `all-packages.nix`
3. Change the `callPackage` argument in `all-packages.nix` from
   `../development/compilers/hare` to `./hare-packages.nix`

[1]: 1048620a7a/item/scripts/version (L2)

Co-authored-by: starzation <nixpkgs@starzation.net>
2023-11-23 10:44:44 -03:00
Gustavo Coutinho de Souza
e3bac87a89
hare: add onemoresuza as the maintainer
Since harec is part of its bootstrapping and it's also orphaned, also
add onemoresuza as its maintainer.
2023-11-07 11:04:35 -03:00
Anderson Torres
50c3db1d8e harePackages: remove myself from maintainers
I am not interested on keeping Hare for the foreseeable future.
2023-11-02 16:11:06 -03:00
Colin
5595e88de9 harec: unstable-2023-02-18 -> unstable-2023-04-25 2023-05-23 20:18:51 +00:00
Colin
cdea9097fd hare: unstable-2023-03-15 -> unstable-2023-04-23 2023-05-23 20:06:46 +00:00
Anderson Torres
072e17f8f2 harec: change self to finalAttrs 2023-04-20 22:22:23 -03:00
Anderson Torres
4961a108af hare: change self to finalAttrs 2023-04-20 22:22:23 -03:00
Anderson Torres
b31b88d74f harePackages.hare: remove patch
It is now passing the tests!
2023-04-07 21:56:53 -03:00
Nguyễn Gia Phong
74b703f59d hare: unstable-2023-02-08 -> unstable-2023-03-15 2023-04-07 11:30:52 -03:00
Nguyễn Gia Phong
01e2254652 harec: unstable-2023-02-08 -> unstable-2023-02-18 2023-04-07 11:30:52 -03:00
Anderson Torres
45d1e00708 harePackages.hare: mark as broken on ARM64 2023-02-11 14:07:52 -03:00
Anderson Torres
ad966da347 harePackages.hare: 2022-07-30 -> 2023-02-10 2023-02-11 14:07:52 -03:00
Anderson Torres
4c4ce6a068 harePackages.harec: 2022-07-02 -> 2023-02-08 2023-02-11 14:07:52 -03:00
Anderson Torres
fb7ddb6681 harePackages: refactor 2023-02-11 14:07:52 -03:00
Nick Cao
3133c979f9
harePackages.hare: fix evaluation for riscv 2022-08-13 19:44:47 +08:00
AndersonTorres
a0165ee168 hare: do not set HARECACHE on the setup hook
HARECACHE is an object cache, usually populated to speedup recompilation. It
does not make much sense to include it on a setup hook.
2022-08-11 16:39:48 -03:00
AndersonTorres
d3993e24c6 harePackages: create subtree
This is a subtree for the (past, present and future) Hare language
infrastructure.
2022-08-10 05:20:17 -03:00
AndersonTorres
ca39dc6915 hare: 2022-06-18 -> 2022-07-30 2022-08-10 04:55:38 -03:00
AndersonTorres
5f71fb6e02 harec: 2022-06-20 -> 2022-07-02 2022-08-10 04:53:56 -03:00
Michael Auchter
5453969a2a hare: set HARECACHE in setupHook
If HARECACHE is unset, it hare will default to attempting to cache files
relative to $HOME, which isn't writable during a build. Set HARECACHE to
a suitable location so packages that are built with hare don't have to
manually handle this.
2022-06-23 14:37:11 +00:00
Michael Auchter
8ecf252eda hare: add setupHook to configure HAREPATH
Add a setupHook so the HAREPATH environment variable is correctly set to
point to the hare stdlib and any third-party libraries.
2022-06-23 14:37:11 +00:00
Michael Auchter
f514ac5a4a hare: disable failing test cases
A few complex math tests have been failing since they were added, so
disable the failing cases for now.

> 3 tests failed:
> math::complex::cos: Assertion failed: ./math/complex/+test.ha:1088:2
> math::complex::cosh: Assertion failed: ./math/complex/+test.ha:1114:2
> math::complex::exp: Assertion failed: ./math/complex/+test.ha:1140:2
>
> 372 passed; 3 failed; 375 tests completed in 1.19521s
2022-06-23 14:37:11 +00:00
Michael Auchter
0c5d1a7d93 hare: 0.pre+date=2022-04-27 -> unstable-2022-06-18 2022-06-23 14:37:11 +00:00
Michael Auchter
f7471ac652 harec: 0.pre+date=2022-04-26 -> unstable-2022-06-20 2022-06-23 14:37:10 +00:00
Pontus Stenetorp
3ea13a6f55
hare: run test suite 2022-05-04 09:25:09 +00:00
AndersonTorres
b597b5c3fc hare: init at 0.pre+date=2022-04-27 2022-05-03 08:23:32 -03:00
AndersonTorres
9ded9f1100 harec: init at 0.pre+date=2022-04-26 2022-05-03 08:23:32 -03:00