1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-21 21:21:06 +00:00
nixpkgs/pkgs/stdenv
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
..
cross Fix lib tests 2019-11-26 12:57:16 -05:00
custom
cygwin treewide: Make still dont* Variables are optional in most cases 2019-11-01 14:44:44 -04:00
darwin stdenv: make darwin builds reproducable 2020-01-31 21:52:07 +01:00
freebsd
generic stdenv: make symlinks that refer to the same output relative 2020-01-15 09:26:40 +01:00
linux make-bootstrap-tools: use 'extreme' option to reduce size but not cost 2019-11-03 14:52:44 +01:00
native treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00
nix
adapters.nix pkgsStatic: set BUILD_SHARED_LIBS=OFF for cmake 2020-01-03 11:31:17 -05:00
booter.nix pkgs/stdenv/booter.nix: Add comment explaining hasCC trickery 2019-12-30 18:09:45 -05:00
common-path.nix
default.nix treewide: remove redundant quotes 2019-08-26 21:40:19 +00:00