diff options
| author | PgBiel <9021226+PgBiel@users.noreply.github.com> | 2024-09-27 12:48:12 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-27 15:48:12 +0000 |
| commit | 022f34c43a2fb3084b93500163a601105ab582a4 (patch) | |
| tree | c775c17057cae8c50c74ce2309bd8f90cc7edd9f /flake.nix | |
| parent | 7262ef3c74d06235310183ad2e3d44eecaa0d4fe (diff) | |
Fix flake.nix outside of Linux (#5056)
Diffstat (limited to 'flake.nix')
| -rw-r--r-- | flake.nix | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -22,14 +22,14 @@ inputs.flake-parts.flakeModules.easyOverlay ]; - perSystem = { self', pkgs, lib, ... }: + perSystem = { self', pkgs, lib, system, ... }: let cargoToml = lib.importTOML ./Cargo.toml; pname = "typst"; version = cargoToml.workspace.package.version; - rust-toolchain = (fenix.packages.x86_64-linux.fromManifestFile rust-manifest).defaultToolchain; + rust-toolchain = (fenix.packages.${system}.fromManifestFile rust-manifest).defaultToolchain; # Crane-based Nix flake configuration. # Based on https://github.com/ipetkov/crane/blob/master/examples/trunk-workspace/flake.nix |
