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/nixpkgs
base: 7df88097141e
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: 087fe53de8a6
Choose a head ref
  • 2 commits
  • 2 files changed
  • 2 contributors

Commits on Sep 21, 2020

  1. nvtop: Make independent of Nvidia driver version

    For packages relying on Nvidia drivers we don't want to hard-code the
    location of a particular driver version in the RPATH. Otherwise the
    software might fail with errors such as:
    
    > Impossible to initialize nvidia nvml : Driver/library version mismatch
    
    To fix this the usual pattern in nixpkgs is to add `/run/opengl-driver/lib`
    to the RPATH of these binaries.
    This is the global location where Nvidia libraries are available on
    NixOS and so this makes sure that the nvtop binary can be run with all
    versions of the driver.
    
    At build time however these libraries are not available at that
    particular location. For precisely this use case, Nvidia ships stub
    versions of the driver libraries with the cudatoolkit. So we just need
    to point CMake to that directory.
    
    Fixes: #98328
    knedlsepp committed Sep 21, 2020
    Copy the full SHA
    0996ac6 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #98374 from knedlsepp/fix-nvtop

    nvtop: Make independent of Nvidia driver version
    WilliButz committed Sep 21, 2020
    Copy the full SHA
    087fe53 View commit details
    Browse the repository at this point in the history