use oxalica/rust-overlay to build conduwuit

This commit is contained in:
cy 2025-01-20 00:28:02 -05:00
parent b01a3fd472
commit 6697a8400b
4 changed files with 72 additions and 6 deletions

View file

@ -28,8 +28,14 @@
inputs.nixpkgs.follows = "nixpkgs";
};
flake-parts.url = "github:hercules-ci/flake-parts";
niri.url = "github:sodiboo/niri-flake";
niri.inputs.nixpkgs.follows = "nixpkgs";
niri = {
url = "github:sodiboo/niri-flake";
inputs.nixpkgs.follows = "nixpkgs";
};
rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
nixpkgs-garage.url = "github:cything/nixpkgs/garage-module"; # unmerged PR
};
@ -101,7 +107,10 @@
pkgs = import nixpkgs {
config.allowUnfree = true;
system = "x86_64-linux";
overlays = [ inputs.niri.overlays.niri ] ++ import ./overlay;
overlays = [
inputs.niri.overlays.niri
inputs.rust-overlay.overlays.default
] ++ import ./overlay;
};
in
{