Idris2 devshell

This commit is contained in:
Nathan McCarty 2024-11-30 09:39:53 +00:00
parent b136c7988e
commit 3ac06942ab
2 changed files with 25 additions and 0 deletions

24
devshells/idris2.nix Normal file
View file

@ -0,0 +1,24 @@
{ withSystem, inputs, ... }:
{
perSystem =
{
config,
pkgs,
inputs',
...
}:
{
devShells.idris2 = pkgs.mkShell {
buildInputs = with pkgs; [
# Idris toolchain
inputs'.nixpkgs-unstable.legacyPackages.idris2Packages.pack
inputs'.nixpkgs-unstable.legacyPackages.idris2
pkg-config
gmp
gnumake
chez
rlwrap
];
};
};
}

View file

@ -25,6 +25,7 @@
./nixos/machines/wsl/configuration.nix
./home-manager/machines/wsl/home.nix
./devshells/rust.nix
./devshells/idris2.nix
];
systems = [
"x86_64-linux"