summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman Volosatovs <rvolosatovs@users.noreply.github.com>2019-07-16 09:35:15 +0200
committerFlorian Didron <fdidron@users.noreply.github.com>2019-07-19 10:13:21 +0900
commit656b2ee939433555b704dfd2e4fd8130b2f9e107 (patch)
treeec44bdd442658af65fd116c10633b8e0da202d4c
parentd8925d7ba728728c7601e0db0cfb2939adc465f6 (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"