shell.nix: Packages relocated in upstream cleanup

This commit is contained in:
Michishige Kaito 2018-12-20 22:55:13 +00:00 committed by skullydazed
parent 7bbd299fba
commit 5e52eda0ca
1 changed files with 5 additions and 1 deletions

View File

@ -4,6 +4,10 @@
with pkgs;
let
avrbinutils = pkgsCross.avr.buildPackages.binutils;
avrlibc = pkgsCross.avr.libcCross;
gcc-arm-embedded = pkgsCross.arm-embedded.buildPackages.gcc;
avr_incflags = [
"-isystem ${avrlibc}/avr/include"
"-B${avrlibc}/avr/lib/avr5"
@ -13,7 +17,7 @@ let
"-B${avrlibc}/avr/lib/avr51"
"-L${avrlibc}/avr/lib/avr51"
];
avrgcc = pkgs.avrgcc.overrideAttrs (oldAttrs: rec {
avrgcc = pkgsCross.avr.buildPackages.gcc.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";