Skip to content
Snippets Groups Projects
  • Eelco Dolstra's avatar
    4a373a3e
    * Implemented Eelco V.'s `nix-env -I' command to specify the default · 4a373a3e
    Eelco Dolstra authored
      path of the Nix expression to be used with the import, upgrade, and
      query commands.  For instance,
    
      $ nix-env -I ~/nixpkgs/pkgs/system/i686-linux.nix
    
      $ nix-env --query --available   [aka -qa]
      sylpheed-0.9.7
      bison-1.875
      pango-1.2.5
      subversion-0.35.1
      ...
    
      $ nix-env -i sylpheed
    
      $ nix-env -u subversion
    
      There can be only one default at a time.
    
    * If the path to a Nix expression is a symlink, follow the symlink
      prior to resolving relative path references in the expression.
    4a373a3e
    History
    * Implemented Eelco V.'s `nix-env -I' command to specify the default
    Eelco Dolstra authored
      path of the Nix expression to be used with the import, upgrade, and
      query commands.  For instance,
    
      $ nix-env -I ~/nixpkgs/pkgs/system/i686-linux.nix
    
      $ nix-env --query --available   [aka -qa]
      sylpheed-0.9.7
      bison-1.875
      pango-1.2.5
      subversion-0.35.1
      ...
    
      $ nix-env -i sylpheed
    
      $ nix-env -u subversion
    
      There can be only one default at a time.
    
    * If the path to a Nix expression is a symlink, follow the symlink
      prior to resolving relative path references in the expression.