Branch: refs/heads/master
  Home:   https://github.com/NixOS/patchelf
  Commit: 2e3fdc2030c75c19df6fc2924083cfad53856562
      
https://github.com/NixOS/patchelf/commit/2e3fdc2030c75c19df6fc2924083cfad53856562
  Author: Tuomas Tynkkynen <[email protected]>
  Date:   2016-06-03 (Fri, 03 Jun 2016)

  Changed paths:
    M src/patchelf.cc

  Log Message:
  -----------
  Extract a function for splitting a colon-separated string

We're going to need this logic in another place, so make a function of
this.


  Commit: 48143414941d91016efca2b0ef6f32475d6eaa75
      
https://github.com/NixOS/patchelf/commit/48143414941d91016efca2b0ef6f32475d6eaa75
  Author: Tuomas Tynkkynen <[email protected]>
  Date:   2016-06-04 (Sat, 04 Jun 2016)

  Changed paths:
    M README
    M patchelf.1
    M src/patchelf.cc
    M tests/Makefile.am
    A tests/shrink-rpath-with-allowed-prefixes.sh

  Log Message:
  -----------
  Add '--allowed-rpath-prefixes' option to '--shrink-rpath'

Fixes #97. In essence, the problem is that some packages in Nixpkgs have
RPATHs pointing to both $NIX_BUILD_TOP and $out, e.g.:

/tmp/nix-build-openldap-2.4.44.drv-0/openldap-2.4.44/libraries/libldap_r/.libs
/tmp/nix-build-openldap-2.4.44.drv-0/openldap-2.4.44/libraries/liblber/.libs
/nix/store/bfkmdxmv3a3f0g3d2q8jkdz2wam93c5z-openldap-2.4.44/lib
/nix/store/bfkmdxmv3a3f0g3d2q8jkdz2wam93c5z-openldap-2.4.44/lib64

Currently, running `patchelf --shrink-rpath` does the wrong thing by
keeping the /tmp/ paths and deleting the /nix/store ones. Now we can fix
the problem by using

patchelf --shrink-rpath --allowed-rpath-prefixes $NIX_STORE_DIR

in the Nixpkgs fixupPhase instead.


  Commit: 9d2f4a174710b37bf6bacdce3716bcb664e02990
      
https://github.com/NixOS/patchelf/commit/9d2f4a174710b37bf6bacdce3716bcb664e02990
  Author: Eelco Dolstra <[email protected]>
  Date:   2016-09-01 (Thu, 01 Sep 2016)

  Changed paths:
    M README
    M patchelf.1
    M src/patchelf.cc
    M tests/Makefile.am
    A tests/shrink-rpath-with-allowed-prefixes.sh

  Log Message:
  -----------
  Merge pull request #98 from dezgeg/shrink-prefix

Add '--allowed-rpath-prefixes' option to '--shrink-rpath'  …


Compare: https://github.com/NixOS/patchelf/compare/c66b2deb6089...9d2f4a174710
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to