Skip to content

Commit 4f57cfe

Browse files
committed
build(packages/all-packages.nix): Override rustPlatform for all packages to use our version from rust-overlay
1 parent 71cf6da commit 4f57cfe

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

packages/all-packages.nix

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,13 @@
11
{...}: {
2-
perSystem = {pkgs, ...}: let
3-
inherit (pkgs) callPackage lib darwin hostPlatform symlinkJoin fetchFromGitHub;
4-
inherit (pkgs.lib) optionalAttrs;
2+
perSystem = {
3+
pkgs,
4+
self',
5+
...
6+
}: let
7+
inherit (pkgs) lib darwin hostPlatform symlinkJoin fetchFromGitHub;
8+
inherit (pkgs.lib) optionalAttrs callPackageWith;
9+
inherit (self'.legacyPackages) rustPlatformStable;
10+
callPackage = callPackageWith (pkgs // {rustPlatform = rustPlatformStable;});
511
darwinPkgs = {
612
inherit (darwin.apple_sdk.frameworks) Foundation;
713
};

0 commit comments

Comments
 (0)