File tree Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Expand file tree Collapse file tree 3 files changed +16
-11
lines changed Original file line number Diff line number Diff line change 2222 packages = forAllSystems (
2323 system :
2424 let
25- pkgs = nixpkgs . legacyPackages . ${ system } ;
25+ pkgs = import nixpkgs {
26+ inherit system ;
27+ overlays = [ platformio2nix . overlays . default ] ;
28+ } ;
2629 in
2730 {
28- default = pkgs . callPackage ./package.nix {
29- # TODO: provide an overlay
30- inherit ( platformio2nix . packages . ${ system } ) makePlatformIOSetupHook ;
31- } ;
31+ default = pkgs . callPackage ./package.nix { } ;
3232 }
3333 ) ;
3434 } ;
Original file line number Diff line number Diff line change 2222 packages = forAllSystems (
2323 system :
2424 let
25- pkgs = nixpkgs . legacyPackages . ${ system } ;
25+ pkgs = import nixpkgs {
26+ inherit system ;
27+ overlays = [ platformio2nix . overlays . default ] ;
28+ } ;
2629 in
2730 {
28- default = pkgs . callPackage ./package.nix {
29- # TODO: provide an overlay
30- inherit ( platformio2nix . packages . ${ system } ) makePlatformIOSetupHook ;
31- } ;
31+ default = pkgs . callPackage ./package.nix { } ;
3232 }
3333 ) ;
3434 } ;
Original file line number Diff line number Diff line change 149149 RUST_SRC_PATH = "${ rustToolchain . passthru . availableComponents . rust-src } " ;
150150 } ;
151151 }
152- ) ;
152+ )
153+ // {
154+ overlays . default = final : prev : {
155+ makePlatformIOSetupHook = final . callPackage ./setup-hook.nix { } ;
156+ } ;
157+ } ;
153158}
You can’t perform that action at this time.
0 commit comments