diff --git a/flake.nix b/flake.nix index 2bb1c53..586e2fc 100644 --- a/flake.nix +++ b/flake.nix @@ -8,6 +8,10 @@ outputs = { self, nixpkgs, rust-overlay }: let + rustPkgs = import nixpkgs { + inherit (final) system; + overlays = [ rust-overlay.overlays.default ]; + }; systems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ]; forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system); nixpkgsFor = forAllSystems (system: @@ -18,13 +22,7 @@ ); in { - overlay = final: prev: - let - # Extend final privately with rust-overlay to get rust-bin for the WASM - # toolchain without exposing rust-overlay attributes to consumers. - rustPkgs = final.extend rust-overlay.overlays.default; - in - { + overlay = final: prev: { trictrac-front = let