nixpkgs/pkgs/development/tools/misc/coreboot-toolchain
Felix Singer 0faf3230fb coreboot-toolchain: Improve reproducibility
For reproducibility, the toolchain build system appends a specific
version string to the usual version string of the tools. Before 4.15,
the build system used git for that at runtime and since the .git
directory is removed by the NixOS build system, the version string was
empty and resulted in `v_`.

Now, the toolchain build system prefers using the environment variable
`CROSSGCC_VERSION` if set. Thus, extract the version string in the
postFetch phase and set `CROSSGCC_VERSION` in the build phase.

Signed-off-by: Felix Singer <felixsinger@posteo.net>
2021-11-10 20:15:05 +01:00
..
default.nix coreboot-toolchain: Improve reproducibility 2021-11-10 20:15:05 +01:00
stable.nix coreboot-toolchain: 4.14 -> 4.15 2021-11-10 19:39:12 +01:00
update.sh coreboot-toolchain: Rework update script 2021-11-10 19:38:31 +01:00