dynaimc vision post
Build / build (push) Successful in 5m51s

This commit is contained in:
2026-07-29 11:43:05 -04:00
parent 758d9b234f
commit f840b25347
7 changed files with 173 additions and 69 deletions
+4 -3
View File
@@ -7,14 +7,15 @@
url = "github:nix-community/fenix";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, flake-utils, fenix }:
outputs = { self, nixpkgs, nixpkgs-unstable, flake-utils, fenix }:
flake-utils.lib.eachDefaultSystem (system:
let
pkgs = nixpkgs.legacyPackages.${system};
toolchain = fenix.packages.${system}.fromToolchainFile {
file = ./rust-toolchain.toml;
sha256 = "sha256-gh/xTkxKHL4eiRXzWv8KP7vfjSk61Iq48x47BEDFgfk=";
sha256 = "sha256-A1abGIbOtcBSdrUMhDGrER3pRM1hQP4fp9gh3Y4PKc8=";
};
in
{
@@ -24,7 +25,7 @@
toolchain
clang
llvmPackages.bintools
typst
nixpkgs-unstable.legacyPackages.${pkgs.system}.typst
];
LIBCLANG_PATH = pkgs.lib.makeLibraryPath [ pkgs.llvmPackages_latest.libclang.lib ];
RUSTFLAGS = (builtins.map (a: ''-L ${a}/lib'') []);