3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs
Sirio Balmelli 009668465e
gcc-arm-embedded: add numVersion attribute for convenience
There are builds which rely on having the numeric version of gcc (eg "10.2.1")
declared in an environment variable.

Running 'arm-none-eabi-gcc --version' returns:
"arm-none-eabi-gcc (GNU Arm Embedded Toolchain 10-2020-q4-major) 10.2.1 20201103 (release)"

However, the attribute arm-none-eabi-gcc.version is "10-2020-q4-major",
from which there is no way to derive "10.2.1".

Contrast this with the attribute gcc.version which (at this time) gives "10.3.0".

By adding a numVersion attribute, consumers of this package can
correctly determine what GCC version is being executed.

Signed-off-by: Sirio Balmelli <sirio@b-ad.ch>
2021-07-12 12:29:46 +02:00
..
applications Merge pull request #129913 from paperdigits/darktable-recs 2021-07-12 12:02:41 +02:00
build-support
common-updater
data
desktops
development gcc-arm-embedded: add numVersion attribute for convenience 2021-07-12 12:29:46 +02:00
games dwarf-fortress/themes: update 2021-07-11 21:03:43 -07:00
misc vimPlugins.feline-nvim: init at 2021-07-11 2021-07-11 16:51:36 -07:00
os-specific Merge pull request #129879 from lovesegfault/kernel-fix-build-id 2021-07-11 19:10:30 -07:00
pkgs-lib
servers Merge pull request #118630 from mmilata/lndmon-210326 2021-07-12 01:35:02 +02:00
shells pure-prompt: 1.16.0 -> 1.17.0 2021-07-11 23:56:02 +03:00
stdenv
test Merge pull request #127489 from xworld21/texlive-drop-hyphens-sed 2021-07-11 19:10:08 -04:00
tools Merge pull request #129872 from KAction/lilo 2021-07-12 03:53:19 +02:00
top-level ocamlPackages.json-data-encoding: init at 0.8, ocamlPackages.data-encoding: init at 0.2.0 (#129444) 2021-07-12 11:29:43 +02:00