Skip to content
Snippets Groups Projects
  1. Mar 14, 2005
  2. Mar 11, 2005
  3. Mar 10, 2005
  4. Mar 07, 2005
    • Eelco Dolstra's avatar
      * In the checker, do traversals of the dependency graph explicitly. A · 97c93526
      Eelco Dolstra authored
        conditional expression in the blacklist can specify when to
        continue/stop a traversal.  For example, in
      
          <condition>
            <within>
              <traverse>
                <not><hasAttr name='outputHash' value='.+' /></not>
              </traverse>
              <hasAttr name='outputHash' value='ef1cb003448b4a53517b8f25adb12452' />
            </within>
          </condition>
      
        we traverse the dependency graph, not following the dependencies of
        `fetchurl' derivations (as indicated by the presence of an
        `outputHash' attribute - this is a bit ugly).  The resulting set of
        paths is scanned for a fetch of a file with the given hash, in this
        case, the hash of zlib-1.2.1.tar.gz (which has a security bug).  The
        intent is that a dependency on zlib is not a problem if it is in a
        `fetchurl' derivation, since that's build-time only.  (Other
        build-time uses of zlib *might* be a problem, e.g., static linking.)
      97c93526
    • Eelco Dolstra's avatar
      * Use XML::LibXML. · bfbc55cb
      Eelco Dolstra authored
      bfbc55cb
    • Eelco Dolstra's avatar
      * Automatically add propagated build inputs to user environments. · 543d7a41
      Eelco Dolstra authored
        Maybe this is a bad idea.
      543d7a41
  5. Mar 04, 2005
  6. Mar 03, 2005
  7. Mar 02, 2005
  8. Mar 01, 2005
    • Eelco Dolstra's avatar
      * Doh! · 9e50e648
      Eelco Dolstra authored
      9e50e648
    • Eelco Dolstra's avatar
      * Add missing file to dist. · 8d364e5b
      Eelco Dolstra authored
      8d364e5b
    • Eelco Dolstra's avatar
      * Use a weighted use heuristic to disambiguate between multiple · db322a47
      Eelco Dolstra authored
        occurances of a component.  If the shortest path distance between a
        component P and Q in the referers graph is D, then the contribution
        of Q to the use of P is 1 / R^D, where R >= 1, typically 2.  This
        expresses that distant indirect uses are less important than nearby
        uses.
      
        For instance, this can disambiguate between the bootstrap GCC in
        Nixpkgs and the GCC of the final stdenv (the former has more uses,
        but they are further away),  and between the GCC of the final stdenv
        and the GCC+G77 build (the latter has very few uses).
      db322a47
  9. Feb 28, 2005
  10. Feb 25, 2005
  11. Feb 24, 2005
  12. Feb 23, 2005
  13. Feb 22, 2005
  14. Feb 18, 2005
  15. Feb 17, 2005
  16. Feb 15, 2005
  17. Feb 14, 2005
    • Eelco Dolstra's avatar
      * It is now possible to add store derivations or paths directly to a · 8992fce3
      Eelco Dolstra authored
        user environment, e.g.,
      
          $ nix-env -i /nix/store/z58v41v21xd3ywrqk1vmvdwlagjx7f10-aterm-2.3.1.drv
      
        or 
      
          $ nix-env -i /nix/store/hsyj5pbn0d9iz7q0aj0fga7cpaadvp1l-aterm-2.3.1
      
        This is useful because it allows Nix expressions to be bypassed
        entirely.  For instance, if only a nix-pull manifest is provided,
        plus the top-level path of some component, it can be installed
        without having to supply the Nix expression (e.g., for obfuscation,
        or to be independent of Nix expression language changes or context
        dependencies).
      8992fce3
    • Eelco Dolstra's avatar
      * Added an installation source `--from-expression' (or `-E') to · e446d342
      Eelco Dolstra authored
        install derivations from a Nix expression specified on the command
        line.  This is particularly useful for disambiguation if there are
        multiple derivations with the same name.  For instance, in Nixpkgs,
        to install the Firefox wrapper rather than the plain Firefox
        component:
      
          $ nix-env -f .../i686-linux.nix -i -E 'x: x.firefoxWrapper'
      
        The Nix expressions should be functions to which the default Nix
        expression (in this case, `i686-linux.nix') is passed, hence `x:
        ...'.
      
        This might also be a nice way to deal with high-level (user-level)
        variability, e.g.,
      
          $ nix-env -f ./server.nix -i -E 'x: x {port = 8080; ssl = false;}'
          
      e446d342
    • Eelco Dolstra's avatar
Loading