nixconfig/chicken/chicken.nix
2023-11-27 11:24:47 +01:00

33 lines
659 B
Nix

{ config, home, libs, pkgs, ... }:
{
home.packages = with pkgs.chickenPackages_5.chickenEggs; [
apropos
chicken-doc
chicken-update
coops
csm
edn
lsp-server
mistie
nanomsg
r7rs
salmonella
srfi-1
srfi-18
srfi-69
srfi-197
utf8
] ++ [ pkgs.chicken ];
nixpkgs.overlays = [
(final: prev: {
chicken = prev.chicken.overrideAttrs (oldAttrs: {
postInstall = (oldAttrs.postInstall or "") + ''
cd `csi -R chicken.platform -p '(chicken-home)'`
curl https://3e8.org/pub/chicken-doc/chicken-doc-repo-5.tgz | sudo tar zx
'';
});
})
];
}