29 lines
675 B
Nix
29 lines
675 B
Nix
with import <nixpkgs> {
|
|
overlays = [
|
|
(final: prev: {
|
|
chicken = final.callPackage ./nix/chicken.nix { stdenv = final.gcc13Stdenv; };
|
|
})
|
|
];
|
|
};
|
|
mkShell {
|
|
packages = with pkgs; [
|
|
chicken
|
|
rlwrap
|
|
]
|
|
# ++ (with pkgs.chickenPackages_5.chickenEggs; [
|
|
# apropos
|
|
# chicken-doc
|
|
# srfi-1
|
|
# srfi-18
|
|
# lsp-server
|
|
# srfi-152
|
|
# ])
|
|
;
|
|
shellHook = ''
|
|
export CHICKEN_PREFIX="$HOME/.chicken"
|
|
export CHICKEN_INSTALL_REPOSITORY="$HOME/.chicken/eggs"
|
|
export CHICKEN_REPOSITORY_PATH="${pkgs.chicken}/lib/chicken/12:$HOME/.chicken/eggs"
|
|
export PATH="$PATH:$CHICKEN_PREFIX"
|
|
export CHICKEN_PREFIX="${pkgs.chicken}"
|
|
'';
|
|
}
|