mirror of
https://github.com/Keychron/qmk_firmware.git
synced 2024-11-28 11:47:32 +06:00
shell.nix: Packages relocated in upstream cleanup
This commit is contained in:
parent
7bbd299fba
commit
5e52eda0ca
|
@ -4,6 +4,10 @@
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
let
|
let
|
||||||
|
avrbinutils = pkgsCross.avr.buildPackages.binutils;
|
||||||
|
avrlibc = pkgsCross.avr.libcCross;
|
||||||
|
gcc-arm-embedded = pkgsCross.arm-embedded.buildPackages.gcc;
|
||||||
|
|
||||||
avr_incflags = [
|
avr_incflags = [
|
||||||
"-isystem ${avrlibc}/avr/include"
|
"-isystem ${avrlibc}/avr/include"
|
||||||
"-B${avrlibc}/avr/lib/avr5"
|
"-B${avrlibc}/avr/lib/avr5"
|
||||||
|
@ -13,7 +17,7 @@ let
|
||||||
"-B${avrlibc}/avr/lib/avr51"
|
"-B${avrlibc}/avr/lib/avr51"
|
||||||
"-L${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";
|
name = "avr-gcc-8.1.0";
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://gcc/releases/gcc-8.1.0/gcc-8.1.0.tar.xz";
|
url = "mirror://gcc/releases/gcc-8.1.0/gcc-8.1.0.tar.xz";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user