Compare commits
No commits in common. "9dc803e0782c743090ed8862cb7c9d9e05c96162" and "93e2d3f3032177250e942b609548e0a616d96d81" have entirely different histories.
9dc803e078
...
93e2d3f303
1 changed files with 5 additions and 7 deletions
12
flake.nix
12
flake.nix
|
|
@ -8,6 +8,10 @@
|
||||||
|
|
||||||
outputs = { self, nixpkgs, rust-overlay }:
|
outputs = { self, nixpkgs, rust-overlay }:
|
||||||
let
|
let
|
||||||
|
rustPkgs = import nixpkgs {
|
||||||
|
inherit (final) system;
|
||||||
|
overlays = [ rust-overlay.overlays.default ];
|
||||||
|
};
|
||||||
systems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
|
systems = [ "x86_64-linux" "i686-linux" "aarch64-linux" ];
|
||||||
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
|
forAllSystems = f: nixpkgs.lib.genAttrs systems (system: f system);
|
||||||
nixpkgsFor = forAllSystems (system:
|
nixpkgsFor = forAllSystems (system:
|
||||||
|
|
@ -18,13 +22,7 @@
|
||||||
);
|
);
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
overlay = final: prev:
|
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
|
|
||||||
{
|
|
||||||
|
|
||||||
trictrac-front =
|
trictrac-front =
|
||||||
let
|
let
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue