All Projects → claymager → idris2-pkgs

claymager / idris2-pkgs

Licence: MIT license
An unofficial Idris2 package repository for Nix

Programming Languages

Nix
1067 projects
shell
77523 projects
Idris
72 projects

Labels

Projects that are alternatives of or similar to idris2-pkgs

digga
A flake utility library to craft shell-, home-, and hosts- environments.
Stars: ✭ 818 (+2456.25%)
Mutual labels:  nix
dotnix
nix stuff
Stars: ✭ 27 (-15.62%)
Mutual labels:  nix
nix-env-selector
Allows switch environment for Visual Studio Code using Nix Package Manager.
Stars: ✭ 154 (+381.25%)
Mutual labels:  nix
tsm
A Hierarchical State Machine Framework in C++
Stars: ✭ 30 (-6.25%)
Mutual labels:  nix
nix-tutorials
Tutorials for Nix and Nixpkgs. Note so far it is a proof of concept.
Stars: ✭ 23 (-28.12%)
Mutual labels:  nix
FullstackRustDemo
Novelty website + bucket questions implementation.
Stars: ✭ 40 (+25%)
Mutual labels:  nix
flake-utils-plus
Use Nix flakes without any fluff.
Stars: ✭ 280 (+775%)
Mutual labels:  nix
easy-dhall-nix
Derivations for easily downloading Dhall binaries and putting them to use.
Stars: ✭ 22 (-31.25%)
Mutual labels:  nix
piston-cli
Universal shell supporting code highlighting, files, and interpretation without the need to download a language.
Stars: ✭ 43 (+34.38%)
Mutual labels:  nix
myconfig
my Linux Configuration
Stars: ✭ 23 (-28.12%)
Mutual labels:  nix
nixops-tutorial
Tutorial for practical deployments with NixOps
Stars: ✭ 93 (+190.63%)
Mutual labels:  nix
nix-config
My personal nix config
Stars: ✭ 32 (+0%)
Mutual labels:  nix
nix-unstable-installer
A place to host Nix unstable releases.
Stars: ✭ 96 (+200%)
Mutual labels:  nix
easy-purescript-nix
Easy PureScript (and other tools) with Nix
Stars: ✭ 169 (+428.13%)
Mutual labels:  nix
system
The system configuration of a professional yak shaver
Stars: ✭ 42 (+31.25%)
Mutual labels:  nix
nix2container
An archive-less dockerTools.buildImage implementation
Stars: ✭ 133 (+315.63%)
Mutual labels:  nix
nixcfg
My nix configuration(s), using flakes. It's my laptop, it's my servers, it's my everything, in code.
Stars: ✭ 44 (+37.5%)
Mutual labels:  nix
dotfiles
🏠
Stars: ✭ 53 (+65.63%)
Mutual labels:  nix
yants
Yet Another Nix Type System | Source has moved to https://git.tazj.in/tree/nix/yants
Stars: ✭ 35 (+9.38%)
Mutual labels:  nix
emacs2nix
Automatically generate Nix expressions for Emacs packages
Stars: ✭ 23 (-28.12%)
Mutual labels:  nix

image1 image2

Idris2-pkgs

An unofficial Idris2 package repository for Nix.

Note: I try to be precise, but end up using Idris and Idris2 interchangeably. If I ever actually need to refer to the original, Haskell-based project, I will call it Idris1.

Unfortunately, there isn’t a precise list of installable packages in userspace yet. You can get an idea by scanning the inputs of flake.nix, or programmatically through nix by running:

nix eval --apply builtins.attrNames github:claymager/idris2-pkgs#packages.x86_64-linux

Binary Cache

This repository uses Cachix_ for caching, though that is still highly experimintal.

If you run cachix use cm-idris2-pkgs, it should configure your nix to use the cache. The cachix command is only needed for setup, so feel free to run that in a nix shell.

  • cache name cm-idris2-pkgs
  • public key cm-idris2-pkgs.cachix.org-1:YB2oJSEsD5oMJjAESxolC2GQtE6B5I6jkWhte2gtXjk=

.._Cachix: https://docs.cachix.org

Supported Platforms

No matter what you want to do with this repository, to run the code, you’ll need nix. Most of the functionality requires the experimental feature flakes to be enabled, but idris2-pkgs does maintain a compatibility layer for “legacy mode,” documented here.

The CI builds with both Linux and MacOS. Unfortunately, there is no native Windows support, but nix can be installed on Windows with WSL 2.

Quick Start

To run idris2 with some of these libraries, try the following command:

nix shell github:claymager/idris2-pkgs#idris2.withLibs.comonad.idrall

That drops you into a shell with idris2 and the packages comonad and idrall installed. You can now run idris2 -p comonad -p idrall to enter a REPL, and import whatever you need.

Other executables that need runtime access to libraries, such as the LSP, also have access to that withPkgs attribute.

For other uses, check the documentation.

License

Idris2-pkgs is licensed under the MIT License.

Note: MIT license does not apply to the packages built by Idris2-pkgs, merely to the files in this repository (the Nix expressions, build scripts, etc.). It also might not apply to patches included in idris2-pkgs, which may be derivative works of the packages to which they apply. The aforementioned artifacts are all covered by the licenses of the respective packages.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].