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: f4e510302f92
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: f1fbf818c4a9
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jul 15, 2018

  1. autoPatchelfHook: Run after patchelf's setup hook

    So far the runtimeDependencies variable has been rather useless unless
    you also set dontPatchelf, because the patchelf setup hook ran *after*
    the autoPatchelfHook and thus stripped off the additional RPATHs added
    using runtimeDependencies.
    
    I did this by moving the autoPatchelfHook to be run in postFixup instead
    of fixupOutput, however I needed to replicate the for loop that runs the
    hook on all outputs.
    
    Until we have a way to influence order of execution for hooks I've
    marked this with an XXX so that we can use fixupOutput again.
    
    Tested this against all packages that use autoPatchelfHook using the
    following and checking whether the output contains any errors concerning
    shared libraries:
    
    nix-build -E 'with import ./. { config.allowUnfree = true; };
      runCommand "test-executables" {
        drvs = [
          masterpdfeditor franz zoom-us anydesk teamviewer maxx
          oracle-instantclient cups-kyodialog3 virtlyst powershell
        ];
      } "for i in $drvs; do for b in $i/bin/*; do \"$b\" || :; done; done"
    '
    
    Signed-off-by: aszlig <aszlig@nix.build>
    Fixes: #43082
    Cc: @Ericson2314
    aszlig committed Jul 15, 2018
    Configuration menu
    Copy the full SHA
    f1fbf81 View commit details
    Browse the repository at this point in the history