Skip to content
Snippets Groups Projects
  1. Apr 22, 2004
  2. Apr 21, 2004
    • Eelco Dolstra's avatar
      * Channels. These allow you to stay current with an evolving set of · 21655a70
      Eelco Dolstra authored
        Nix expressions.
      
        To subscribe to a channel (needs to be done only once):
      
          nix-channel --add \
            http://catamaran.labs.cs.uu.nl/dist/nix/channels/nixpkgs-unstable
      
        This just adds the given URL to ~/.nix-channels (which can also be
        edited manually).
      
        To update from all channels:
      
          nix-channel --update
      
        This fetches the latest expressions and pulls cache manifests.  The
        default Nix expression (~/.nix-defexpr) is made to point to the
        conjunction of the expressions downloaded from all channels.
      
        So to update all installed derivations in the current user
        environment:
      
          nix-channel --update
          nix-env --upgrade '*'
      
        If you are really courageous, you can put this in a cronjob or
        something.
      
        You can subscribe to multiple channels.  It is not entirely clear
        what happens when there are name clashes between derivations from
        different channels.  From nix-env/main.cc it appears that the one
        with the lowest (highest?) hash will be used, which is pretty
        meaningless.
      21655a70
  3. Apr 15, 2004
  4. Apr 14, 2004
  5. Apr 06, 2004
  6. Mar 15, 2004
  7. Feb 20, 2004
  8. Feb 13, 2004
  9. Feb 10, 2004
  10. Feb 06, 2004
    • Eelco Dolstra's avatar
      * Improvements to profiles. Generations are now per-profile, e.g., · 66e94d32
      Eelco Dolstra authored
        default -> default-94-link
        default-82-link -> /nix/store/cc4480...
        default-83-link -> /nix/store/caeec8...
        ...
        default-94-link -> /nix/store/2896ca...
        experimental -> experimental-2-link
        experimental-1-link -> /nix/store/cc4480...
        experimental-2-link -> /nix/store/a3148f...
      
      * `--profile' / `-p' -> `--switch-profile' / `-S'
      * `--link' / `-l' -> `--profile' / `-p'
      * The default profile is stored in $prefix/var/nix/profiles.
        $prefix/var/nix/links is gone.  Profiles can be stored anywhere.
      * The current profile is now referenced from ~/.nix-profile, not
        ~/.nix-userenv.
      * The roots to the garbage collector now have extension `.gcroot', not
        `.id'.
      66e94d32
  11. Jan 16, 2004
  12. Jan 14, 2004
  13. Jan 05, 2004
    • Eelco Dolstra's avatar
      * Implemented Eelco V.'s `-p' command to switch profiles. It switches · f83c5e3e
      Eelco Dolstra authored
        the symlink ~/.nix-userenv to the given argument (which defaults to
        .../links/current).  /etc/profile.d/nix-profile creates this symlink
        if it doesn't exist yet.  Example use:
      
        $ nix-env -l my_profile -i foo.nix subversion quake
        $ nix-env -p my_profile
      
        I don't like the term "profile".  Let's deprecate it :-)
      f83c5e3e
  14. Dec 30, 2003
  15. Dec 21, 2003
  16. Dec 05, 2003
  17. Dec 04, 2003
  18. Dec 01, 2003
  19. Nov 24, 2003
  20. Nov 22, 2003
  21. Oct 27, 2003
  22. Oct 20, 2003
  23. Oct 16, 2003
  24. Oct 15, 2003
  25. Oct 09, 2003
  26. Oct 07, 2003
  27. Oct 02, 2003
  28. Aug 28, 2003
Loading