We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
rustPlatform
1 parent 71cf6da commit 4f57cfeCopy full SHA for 4f57cfe
packages/all-packages.nix
@@ -1,7 +1,13 @@
1
{...}: {
2
- perSystem = {pkgs, ...}: let
3
- inherit (pkgs) callPackage lib darwin hostPlatform symlinkJoin fetchFromGitHub;
4
- inherit (pkgs.lib) optionalAttrs;
+ perSystem = {
+ pkgs,
+ 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;});
11
darwinPkgs = {
12
inherit (darwin.apple_sdk.frameworks) Foundation;
13
};
0 commit comments