Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nix
base: 3ed8290e5331
Choose a base ref
...
head repository: NixOS/nix
compare: d41c5eb13f4f
Choose a head ref
  • 3 commits
  • 7 files changed
  • 1 contributor

Commits on Sep 10, 2017

  1. nix build: Only download the requested derivation outputs

    Also some refactoring.
    edolstra committed Sep 10, 2017
    Configuration menu
    Copy the full SHA
    ad228d8 View commit details
    Browse the repository at this point in the history
  2. Typo

    edolstra committed Sep 10, 2017
    Configuration menu
    Copy the full SHA
    8af704e View commit details
    Browse the repository at this point in the history
  3. Add command "nix why-depends"

    This command shows why a package has another package in its runtime
    closure. For example, to see why VLC has libdrm.dev in its closure:
    
      $ nix why-depends nixpkgs.vlc nixpkgs.libdrm.dev
      /nix/store/g901z9pcj0n5yy5n6ykxk3qm4ina1d6z-vlc-2.2.5.1:
        lib/libvlccore.so.8.0.0: …nfig:/nix/store/405lmx6jl8lp0ad1vrr6j498chrqhz8g-libdrm-2.4.75-d…
    
      /nix/store/s3nm7kd8hlcg0facn2q1ff2n7wrwdi2l-mesa-noglu-17.0.7-dev:
        nix-support/propagated-native-build-inputs: …-dev /nix/store/405lmx6jl8lp0ad1vrr6j498chrqhz8g-libdrm-2.4.75-d…
    
    Thus, VLC's lib/libvlccore.so.8.0.0 as well as mesa-noglu's
    nix-support/propagated-native-build-inputs cause the dependency.
    edolstra committed Sep 10, 2017
    Configuration menu
    Copy the full SHA
    d41c5eb View commit details
    Browse the repository at this point in the history