[Nix-dev] introduction nix_repository_manager

Marc Weber marco-oweber at gmx.de
Thu Mar 6 11:00:30 CET 2008


Hi,

I've commited bleeding_edge* stuff in all-packages.nix

I want to give short introduction maybe you have some ideas how to
enhance it?

Problem to solve: keep up to date with dev packages.

nix-env -i ... hash has changed, adjust, download again is annoying

my solution:

  bleeding_edge_repos = import ../development/misc/bleeding_edge_repos;
  imports some repo definitions

The pacakge nix_repository_manager will get this as configuration file.

Then you can do
  nix_repository_manager --update
or
  nix_repository_manager --update package name

To get the repository or update it and create a tar.tz.
Everything is saved in ${HOME}/managed_repos by now

The tar.gz can then be used by bleeding_edge_source "cabal" instead of
fetchdarcs ..

The next time you want to update just do
  nix_repository_manager --update
again. That's it.

Any suggestions or questions?


By now it's only tested with darcs repositories.

Marc



More information about the nix-dev mailing list