Commit Graph

28 Commits

Author SHA1 Message Date
Mathew Polzin
8273075e61 idris2Packages.buildIdris: better nix-shell support via shellHook 2024-03-29 09:29:08 -05:00
stuebinm
ff1a94e523 treewide: add meta.mainProgram to packages with a single binary
The nixpkgs-unstable channel's programs.sqlite was used to identify
packages producing exactly one binary, and these automatically added
to their package definitions wherever possible.
2024-03-19 03:14:51 +01:00
Fabián Heredia Montiel
d7e7fc9008
Merge pull request #293813 from mattpolzin/propagate-idris2-libs
idris2Packages.buildIdris: propagate idris libraries
2024-03-12 09:08:08 -06:00
Mathew Polzin
8082302cfa idris2Packages.idris2Lsp: Add metadata to derivation 2024-03-09 15:09:58 -06:00
Mathew Polzin
a0a7314433 idris2Packages.buildIdris: propagate idris libraries 2024-03-06 10:00:23 -06:00
Mathew Polzin
e9fa40dccd idris2Packages.idris2Lsp: init at 2024-01-21 2024-01-23 23:18:34 -06:00
Mathew Polzin
5fe69cb9cf idris2Packages.buildIdris: better packaging ergonomics, better executable support 2024-01-23 23:05:29 -06:00
Mathew Polzin
f3c916f909 idris2: add mattpolzin as a maintainer 2024-01-15 18:20:58 -06:00
Mathew Polzin
d7a058e6f7 idris2: add api package and buildIdris helper 2024-01-15 18:19:52 -06:00
Mathew Polzin
e09aaf7b55 idris2: 0.6.0 -> 0.7.0 2023-12-22 10:02:10 -06:00
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