Commit Graph

24 Commits

Author SHA1 Message Date
Mathew Polzin
e9dfc1c980
List packages improvements (#3318)
* don't show 'Just' before package versions

* unrelated - fix nix develop shell for darwin

* spit out the package path for each package as well as the package name and version

* put the package path on a new line

* add TTC version info to output

* don't name unused variable

* add changelog entry
2024-06-17 11:50:13 +01:00
Mathew Polzin
1c186f09a1
prefer chez scheme 10+ over racket fork (#3233) 2024-03-21 13:30:09 -05:00
Mathew Polzin
f91e92bd54 Add a dev shell to the flake 2024-02-13 09:31:44 -06:00
Mathew Polzin
cf4c87cc71
hopefully final refactor of buildIdris (#3200)
- align buildIdris function with direction of nixpkgs version.
- tangentially, update naming of local variables to follow nixpkgs.
- use pname/version instead of name for buildIdris derivations.
2024-01-21 23:05:26 -06:00
Mathew Polzin
da6f0b0e4e
Fix executable output of buildIdris nix helper (#3188) 2024-01-08 23:58:17 -06:00
Mathew Polzin
8746f1671b
Improve buildIdris and expose the idris2-api via the Nix flake. (#3182)
* Refactor buildIdris slightly and support installing libraries with source. Add the Idris2 API package as an output of the flake.

* update templates and simplify construction of a search path.

* use newer method of specifying default package

* swap out trace function for warn function. fix warnings in template generation
2024-01-05 15:59:11 -06:00
Mathew Polzin
ac266b73f8
Separate support derivation (and small related tweaks to the Makefile) (#3172) 2023-12-27 08:14:03 -06:00
Thomas E. Hansen
ea180d0721 [ rc ] Prepare for 0.7.0
A lot more sensible all around  : )
2023-12-22 14:44:30 +01:00
Thomas E. Hansen
a3b078cb0d [ rc ] For v0.6.9 - to see if the process was right
Good luck everybody...

v0.6.9 - Nice!  ^^
2023-12-22 14:44:30 +01:00
Nathan McCarty
407409fecc
[ ci ] Simplify bootstrap process in nix (#2731) 2022-10-28 19:29:30 +01:00
Edwin Brady
e125c9014f
Prepare release 0.6.0 (#2733)
* Prepare release 0.6.0

* Fix bootstrap chez

* Correct version in bootstrap chez
2022-10-27 16:32:16 +01:00
Steve Dunham
b1f2eab6d6 Update nix build scripts to build idris with the current version of idris 2022-10-25 14:52:45 +01:00
Las Safin
ef8f52fd79 Use chez-racket from mainline Nixpkgs 2021-12-29 18:33:05 -08:00
Edwin Brady
1e90182311
Version increment to 0.5.1 (#1939)
This is to remove the requirement on Chez >9.5
2021-09-19 20:53:32 +01:00
Edwin Brady
ada3eb4449
Version 0.5.0 (#1931)
* Update version numbers and bootstrap scheme

* Use wall clock time for search timeouts

That was always the intention in any case, rather than the process time.
2021-09-18 16:07:34 +01:00
Matthieu Coudron
6780874d2e nix flake: make it more idiomatic
so that one can pass attributes directly to buildIdris instead of the
convoluted.
buildIdris (...).build.overrideAttrs(oldAttrs: {})
2021-09-07 16:34:45 +01:00
Las Safin
ca95781a74 flake.nix: Use Racket's Chez for non-x86_64-linux platforms
It supports many more platforms, excerpt from the README:
> Supported platforms:
>
>     Windows: x86, x86_64
>     Mac OS: x86, x86_64, AArch64, PowerPC32
>     Linux: x86, x86_64, ARMv6, AArch64, PowerPC32
>     FreeBSD: x86, x86_64, ARMv6, AArch64, PowerPC32
>     OpenBSD: x86, x86_64, ARMv6, AArch64, PowerPC32
>     NetBSD: x86, x86_64, ARMv6, AArch64, PowerPC32
>     Solaris: x86, x86_64
>     Android: ARMv7, AArch64
>     iOS: AArch64

Link to the fork: https://github.com/racket/ChezScheme
2021-08-06 08:54:14 +02:00
zseri
6fbba94c21 Nix: make nixpkgs options overridable
This allows for cross-flake testing of content-addressible nix derivations without
affecting other users of the flake (which would be the cases if CA-drvs would be
hard-coded upstream) and without losing the ability to quickly update to the latest
idris2 version (which would happen if a fork of the repo would be used).

See also: https://discourse.nixos.org/t/content-addressed-nix-call-for-testers/12881

The flake can still be used as usual, but it will gain an output `overrideOptions`, which can be used like e.g.
```nix
let
  idrisx = idris.overrideOptions {
    config.contentAddressedByDefault = true;
  };
in { ... }
```
2021-06-30 15:33:37 +01:00
John Mager
8638849d26 [ fix ] Nix uses proper version 2021-06-29 09:10:24 +01:00
Edwin Brady
00107730ae More version number updates 2021-06-23 18:46:38 +01:00
zseri
82cf4092b7 Nix: verbatim URLs are deprecated
References:
- https://nix.dev/anti-patterns/language#unquoted-urls
- https://github.com/NixOS/rfcs/pull/45
- https://github.com/NixOS/rfcs/blob/master/rfcs/0045-deprecate-url-syntax.md
2021-06-22 12:52:53 +01:00
Guilherme Silva
4e3f652c6f
[ fix #1212 ] Removed apps from nix flakes (#1213) 2021-03-22 11:25:38 +00:00
Guilherme Silva
4144510bb3
Added new nix functionalities (#1154) 2021-03-15 14:21:50 +00:00
Guilherme Silva
7a7504c956
Added nix files (#855) 2021-01-15 17:20:52 +00:00