summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoman Volosatovs <rvolosatovs@users.noreply.github.com>2019-07-16 09:35:15 +0200
committerskullydazed <skullydazed@users.noreply.github.com>2019-07-16 00:35:15 -0700
commit72df7b4c191399c7835527b730647e079b6683ff (patch)
tree1833439b0ef02764fe7da3bf3169dada17ee12ab
parent1209fb8643acbc4e6cdf76cdd923373dd9ee202f (diff)
shell.nix: Downgrade gcc-arm-embedded (#5913)
Temporary fix for https://github.com/qmk/qmk_firmware/issues/5868
-rw-r--r--shell.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell.nix b/shell.nix
index 6ff8a7ad2d..e85221975d 100644
--- a/shell.nix
+++ b/shell.nix
@@ -6,7 +6,10 @@ with pkgs;
let
avrbinutils = pkgsCross.avr.buildPackages.binutils;
avrlibc = pkgsCross.avr.libcCross;
- gcc-arm-embedded = pkgsCross.arm-embedded.buildPackages.gcc;
+ gcc-arm-embedded = (import (builtins.fetchTarball {
+ url = "https://github.com/NixOS/nixpkgs-channels/archive/87f146a41c463a64c93022b11cf19716b3a22037.tar.gz";
+ sha256 = "0rk8haf19plw6vyvq0am99rik0hrrysknjw0f2vs7985awngy3q2";
+ }) {}).gcc-arm-embedded;
avr_incflags = [
"-isystem ${avrlibc}/avr/include"