Commit graph

18 commits

Author SHA1 Message Date
Guillaume Girol 33afbf39f6 treewide: switch to nativeCheckInputs
checkInputs used to be added to nativeBuildInputs. Now we have
nativeCheckInputs to do that instead. Doing this treewide change allows
to keep hashes identical to before the introduction of
nativeCheckInputs.
2023-01-21 12:00:00 +00:00
Erlend Hamberg 4f4a4eae8c
idris2: 0.5.1 -> 0.6.0 2022-10-28 16:27:38 +02:00
Artturin 7e49471316 treewide: optional -> optionals where the argument is a list
the argument to optional should not be list
2022-10-10 15:40:21 +03:00
wchresta 205b0f2c5e Idris2: Refactor default.nix
We take the idris2 projects version of the derivation. Originally,
Idris2 did not maintain their own nix derivation, so we created our
own. Now they maintain their own derivation, so we should try to
keep ours as close to theirs.

This change comes with the following differences:
* support files are in its own output, instead of packaged with idris2
  - This makes it necessary to provide --package for contrib and network
    !!! This is a breaking change !!!
* IDIRS2_PREFIX is set to ~/.idris2 instead of pointing to nix-store
  - This makes --install work as expected for the user
* Properly set IDRIS2_PACKAGE_PATH
* non-linux platform uses chez-racket instead of chez
2022-01-10 22:01:42 +01:00
wchresta 7389893ebf idris2: add package tests
We had some bugs because simple compilation / execution cases
failed. This adds some very simple package tests that should
help us find these.
2021-12-23 18:25:24 +01:00
cherryblossom000 cc9186270a
idris2: use DYLD_LIBRARY_PATH instead of LD_LIBRARY_PATH on macOS
macOS uses `DYLD_LIBRARY_PATH` instead of `LD_LIBRARY_PATH`.
2021-12-13 22:18:43 +11:00
R. RyanTM 896ee5ffc6 idris2: 0.5.0 -> 0.5.1 2021-09-23 00:16:08 +00:00
R. RyanTM 948ef8a6c5 idris2: 0.4.0 -> 0.5.0 2021-09-19 08:30:18 +00:00
Fabián Heredia Montiel 37d73021ee idris2: fix packagePaths issue
packagePaths changed between idris2 `v0.3.0` and `v0.4.0` and now
includes a version number in the path.

Fixes nixos/nixpkgs#130310

Co-authored-by: zseri <zseri.devel@ytrizja.de>
Co-authored-by: Mario Rodas <marsam@users.noreply.github.com>
2021-07-15 21:50:33 -05:00
Fabián Heredia Montiel c454c6855e idris2: 0.3.0 → 0.4.0
v0.4.0:
 - Added gmp as a build dependency
 - Removed bootstrap-test (test still available and more general)
 - Renamed bootstrap-build to bootstrap (bootstrap previously did
   bootstrap-build and bootstrap-test)
2021-06-24 13:27:56 -05:00
Ben Siraphob acc5f7b18a pkgs/development/compilers: stdenv.lib -> lib 2021-01-23 08:57:37 +07:00
Felix Springer b77c2c5a89 idris2: 0.2.2 -> 0.3.0 2021-01-14 19:11:36 +01:00
Felix Springer d273a8982d idris2: 0.2.1 -> 0.2.2 2021-01-03 00:44:16 +01:00
wchresta 24d5c73aa8 idris2: Enable --install, bugfixes
This removes the need of the bin/idris2_app folder and replaces
it with proper links to the nix-storage folders.
This allows the user to override IDRIS2_PREFIX which will allow
them to use --install to install libraries.

* Fix: idris2_app/ was exposed in bin/
* Remove native Idris2 wrapper that set LD_LIBRARY_PATH
* Improve new Idris2 wrapper to set Idris2 paths to out folders
2020-08-20 22:09:05 -04:00
Andrew Valencik 39cd8e3b91 idris2: 0.2.0 -> 0.2.1 2020-08-16 22:37:08 -04:00
davlum a554e12833
idris2: fix build on macOS (#89548)
The idris2 Makefile tries to use different versions of sed depending on
the OS, but nix always uses the same version. Because the version of
sed that is expected on macOS doesn't exist in the nix environment, the
build fails. Setting the OS to empty string resolves the issue.
2020-06-07 18:06:35 -04:00
wchresta 7fc97cf30b idris2: 0.2.0-840e020 -> 0.2.0
* Upgrade to release version of idris2
* Add config for proper testing phase
2020-05-26 18:38:54 -04:00
wchresta 074c9cbe1c idris2: init at version 0.2.0-840e020
A purely functional programming language with first class types
2020-05-23 12:54:27 -04:00