nixpkgs/pkgs/build-support/libredirect
aszlig 753743c37b
libredirect: Add support for Darwin
The library can be used also on Darwin using it like this:

  NIX_REDIRECTS='foo=bar' \
  DYLD_INSERT_LIBRARIES=${libredirect}/lib/libredirect.so \
  DYLD_FORCE_FLAT_NAMESPACE=1 \
  some_program

So let's actually not hardcade gcc and add Darwin to meta.platforms.

No other changes seem to be required.

Signed-off-by: aszlig <aszlig@nix.build>
2018-11-11 19:29:12 +01:00
..
default.nix libredirect: Add support for Darwin 2018-11-11 19:29:12 +01:00
libredirect.c libredirect: allow null paths 2017-05-24 11:29:06 -03:00