Steal idris's chez

This commit is contained in:
Nathan McCarty 2023-07-08 22:38:15 -04:00
parent b2b3efae8a
commit bae40525f1
Signed by: thatonelutenist
SSH Key Fingerprint: SHA256:hwQEcmak9E6sdU9bXc98RHw/Xd1AhpB5HZT7ZSVJkRM
1 changed files with 13 additions and 6 deletions

View File

@ -90,12 +90,19 @@ with nLib; {
(mkIf devel.raku { home.packages = with pkgs; [ rakudo zef ]; }) (mkIf devel.raku { home.packages = with pkgs; [ rakudo zef ]; })
# Idris 2 Development # Idris 2 Development
(mkIf devel.idris2 { (mkIf devel.idris2 {
home.packages = with pkgs; [ home.packages = with pkgs;
inputs.idris2.packages."${pkgs.system}".idris2 let
# chez is = inputs.idris2.packages."${pkgs.system}".idris2.buildInputs;
gmp chz = findSingle
rlwrap (drv: let name = drv.pname; in (lib.strings.hasPrefix "chez" name))
]; { } { } is;
in [
inputs.idris2.packages."${pkgs.system}".idris2
# chez
chz
gmp
rlwrap
];
}) })
# Haskell Development # Haskell Development
(mkIf devel.haskell { (mkIf devel.haskell {