mirror of
https://github.com/msfjarvis/gitice
synced 2025-08-15 00:27:01 +05:30
fix(flakes): use cargo-dist pre-release build
This commit is contained in:
parent
6db8a739ee
commit
4ee022abbc
2 changed files with 48 additions and 2 deletions
10
flake.nix
10
flake.nix
|
@ -13,6 +13,11 @@
|
|||
inputs.crane.inputs.flake-utils.follows = "flake-utils";
|
||||
inputs.crane.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
inputs.custom-nixpkgs.url = "github:msfjarvis/custom-nixpkgs";
|
||||
inputs.custom-nixpkgs.inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.custom-nixpkgs.inputs.fenix.follows = "fenix";
|
||||
inputs.custom-nixpkgs.inputs.systems.follows = "systems";
|
||||
|
||||
inputs.devshell.url = "github:numtide/devshell";
|
||||
inputs.devshell.inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.devshell.inputs.systems.follows = "systems";
|
||||
|
@ -31,6 +36,7 @@
|
|||
nixpkgs,
|
||||
advisory-db,
|
||||
crane,
|
||||
custom-nixpkgs,
|
||||
devshell,
|
||||
fenix,
|
||||
flake-utils,
|
||||
|
@ -39,7 +45,7 @@
|
|||
flake-utils.lib.eachDefaultSystem (system: let
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = [devshell.overlays.default];
|
||||
overlays = [custom-nixpkgs.overlays.default devshell.overlays.default];
|
||||
};
|
||||
|
||||
rustNightly = (import fenix {inherit pkgs;}).fromToolchainFile {
|
||||
|
@ -90,7 +96,7 @@
|
|||
];
|
||||
|
||||
packages = with pkgs; [
|
||||
cargo-dist
|
||||
cargo-dist-unstable
|
||||
cargo-nextest
|
||||
cargo-release
|
||||
rustNightly
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue