diff options
author | Jack Henahan <jhenahan@me.com> | 2018-09-25 18:16:35 -0400 |
---|---|---|
committer | skullydazed <skullydazed@users.noreply.github.com> | 2018-09-25 15:16:35 -0700 |
commit | 2b23072c3438ea2a8a8477f738d24be2bc9aacdc (patch) | |
tree | bffde22ed40aa494ce385b62ef09f1de1cef2f09 /shell.nix | |
parent | 9dc19fdb6d0fedfb0080891a8eff49a8fc3b70c2 (diff) | |
download | qmk_firmware-2b23072c3438ea2a8a8477f738d24be2bc9aacdc.tar.gz |
Pin avr-gcc in shell.nix pending release of 8.3.0 (#3922)
* Pin avr-gcc in shell.nix pending release of 8.3.0
There's apparently a critical bug in 8.2.0, which is now the nixpkgs default. This change overrides that default in favor of the known good version. Once 8.3.0 is the default, the override can be dropped.
* Arch/Manjaro fix
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -13,6 +13,13 @@ let "-B${avrlibc}/avr/lib/avr51" "-L${avrlibc}/avr/lib/avr51" ]; + avrgcc = pkgs.avrgcc.overrideAttrs (oldAttrs: rec { + name = "avr-gcc-8.1.0"; + src = fetchurl { + url = "mirror://gcc/releases/gcc-8.1.0/gcc-8.1.0.tar.xz"; + sha256 = "0lxil8x0jjx7zbf90cy1rli650akaa6hpk8wk8s62vk2jbwnc60x"; + }; + }); in stdenv.mkDerivation { |