Browse Source

shell.nix: Packages relocated in upstream cleanup

pjones-keymap
Michishige Kaito 6 months ago
parent
commit
5e52eda0ca
1 changed files with 5 additions and 1 deletions
  1. 5
    1
      shell.nix

+ 5
- 1
shell.nix View File

@@ -4,6 +4,10 @@
4 4
 
5 5
 with pkgs;
6 6
 let
7
+  avrbinutils = pkgsCross.avr.buildPackages.binutils;
8
+  avrlibc = pkgsCross.avr.libcCross;
9
+  gcc-arm-embedded = pkgsCross.arm-embedded.buildPackages.gcc;
10
+
7 11
   avr_incflags = [
8 12
     "-isystem ${avrlibc}/avr/include"
9 13
     "-B${avrlibc}/avr/lib/avr5"
@@ -13,7 +17,7 @@ let
13 17
     "-B${avrlibc}/avr/lib/avr51"
14 18
     "-L${avrlibc}/avr/lib/avr51"
15 19
   ];
16
-  avrgcc = pkgs.avrgcc.overrideAttrs (oldAttrs: rec {
20
+  avrgcc = pkgsCross.avr.buildPackages.gcc.overrideAttrs (oldAttrs: rec {
17 21
     name = "avr-gcc-8.1.0";
18 22
     src = fetchurl {
19 23
       url = "mirror://gcc/releases/gcc-8.1.0/gcc-8.1.0.tar.xz";

Loading…
Cancel
Save