[Nix-dev] Using chicken scheme on osx

Blake Sweeney blakes.85 at gmail.com
Mon Jul 11 05:05:40 CEST 2016


Right now chicken on is marked as broken on osx. I've installed chicken
with homebrew and it worked fine. Does anyone know why it is marked as
broken? Also, some feedback from people who have a working chicken
install would be really useful.

So far I've:

1. Installed chicken
  This works fine and chicken itself works for some simple tests. In
  addition, I can load the eggs that it comes with. I was a bit
  surprised since it is marked as broken but seems to pass some simple
  tests.

  Does anyone know why it is marked as broken?

2. Installed eggs with egg2nix, which is not marked as broken on osx.
  While this seems to work, chicken cannot find the installed eggs. For
  example, I've installed args, but chicken doesn't think so:

  $ csi

  CHICKEN
  (c) 2008-2015, The CHICKEN Team
  (c) 2000-2007, Felix L. Winkelmann
  Version 4.10.0 (rev b259631)
  macosx-unix-clang-x86-64 [ 64bit manyargs dload ptables ]
  compiled 2015-08-04 on yves.more-magic.net (Linux)

  ; loading /Users/bsweene/.csirc ...
  #;1> (use args)

  Error: (import) during expansion of (import ...) - cannot import from undefined module: args

  It seems that the compiled eggs are not placed along the ones that
  chicken can find. I guess it is because they are in a different
  location. For example, args ends up in:

  /nix/store/13x8wllc6bkvy5avlgz78j2r83k1nbck-chicken-args-1.5.1/lib/chicken/7/args.so

  while the eggs that chicken can find are in:

  /nix/store/8qm7x5jd7md8imblqba8yl47p8m63pg6-chicken-4.10.0/var/lib/chicken/7/

  Is this intentional? Do linux installs work differently?

3. Test out chicken-status with:

  $ chicken-status
  (none)

  This says no eggs are installed and I would expect that the posix and
  other installed eggs are list. Also, when looking at the wrapped
  script, I see that CHICKEN_REPOSITORY is not set, which I would expect
  considering the non-standard install layout. 
  
  Does chicken-status work on linux installs? Should CHICKEN_REPOSITORY
  be set?

At this point I've stopped since I don't know what should be happening,
or why chicken is marked as broken.


More information about the nix-dev mailing list