nixpkgs/pkgs/stdenv/darwin
Daiderd Jordan a826b49c97
stdenv: make darwin builds reproducable
Fixes #21629

Passing these extra linker flags removes both the semi-random uuid
included in most binaries as well as making the sdk version consistent
instead of based on the current os version.

    Load command 8
         cmd LC_UUID
     cmdsize 24
        uuid 70FAF921-5DC8-371C-B814-4F121FADFDF4

    Load command 9
          cmd LC_VERSION_MIN_MACOSX
      cmdsize 16
      version 10.12
          sdk 10.13

The -macosx_version_min flag isn't strictly necessary since that's
already handled by MACOSX_DEPLOYMENT_TARGET.
2020-01-31 21:52:07 +01:00
..
default.nix stdenv: make darwin builds reproducable 2020-01-31 21:52:07 +01:00
make-bootstrap-tools.nix treewide: remove unused variables (#63177) 2019-06-16 19:59:05 +00:00
portable-libsystem.sh stdenv/darwin: fix portable libsystem hook 2018-12-05 12:56:12 -06:00
unpack-bootstrap-tools.sh darwin stdenv: Ensure libSystem reexports the right libraries 2017-07-25 14:35:43 -04:00