Thanks to whoever wrote Racket's nixpkgs derivation. I have found that
nix is a great development tool. With nix-shell:

* You set declare an environment, commit it to your repo, and all devs
are on the same page.

* When dealing with ISSUEs you can easily switch between racket versions.

* You can have different environments for different projects.

* You have get unified (vs. ghetto) package management for polyglot
projects. And aren't they all?

To these ends I've been patching the existing derivation. I'm new to
nix-lang, so I'd like to have someone check my style. So far:

* I've added a parameter for the Racket version.

* I've added a parameter for extraLibs (dynamically linked libraries).

Repo:

https://github.com/acarrico/nixpkgs/tree/racket-gl

Diff from master:

https://github.com/NixOS/nixpkgs/compare/master...acarrico:racket-gl

Ultimately, a bigger task, for true cross language integration, the
ghetto racket packages should be imported into Nix as cabal2nix now
integrates Haskell with Nix.

-- 
Anthony Carrico

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to