mirror of
https://github.com/msfjarvis/gitice
synced 2025-08-15 02:47:00 +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
40
flake.lock
generated
40
flake.lock
generated
|
@ -43,6 +43,33 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"custom-nixpkgs": {
|
||||||
|
"inputs": {
|
||||||
|
"fenix": [
|
||||||
|
"fenix"
|
||||||
|
],
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
],
|
||||||
|
"rust-manifest": "rust-manifest",
|
||||||
|
"systems": [
|
||||||
|
"systems"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1692917810,
|
||||||
|
"narHash": "sha256-yphwiZk+F221jYQHPNUGAoy/MJI3usdgtzdVG+7oKFY=",
|
||||||
|
"owner": "msfjarvis",
|
||||||
|
"repo": "custom-nixpkgs",
|
||||||
|
"rev": "3b29b3378dc3f5abb36d670ca16aa566ea17a47d",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "msfjarvis",
|
||||||
|
"repo": "custom-nixpkgs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"devshell": {
|
"devshell": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -143,6 +170,7 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"advisory-db": "advisory-db",
|
"advisory-db": "advisory-db",
|
||||||
"crane": "crane",
|
"crane": "crane",
|
||||||
|
"custom-nixpkgs": "custom-nixpkgs",
|
||||||
"devshell": "devshell",
|
"devshell": "devshell",
|
||||||
"fenix": "fenix",
|
"fenix": "fenix",
|
||||||
"flake-compat": "flake-compat",
|
"flake-compat": "flake-compat",
|
||||||
|
@ -168,6 +196,18 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"rust-manifest": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"narHash": "sha256-emILH39kZmz9D2cquaobdM55EakoGkUxn1sY3r1iYNg=",
|
||||||
|
"type": "file",
|
||||||
|
"url": "https://static.rust-lang.org/dist/2023-07-08/channel-rust-nightly.toml"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"type": "file",
|
||||||
|
"url": "https://static.rust-lang.org/dist/2023-07-08/channel-rust-nightly.toml"
|
||||||
|
}
|
||||||
|
},
|
||||||
"rust-overlay": {
|
"rust-overlay": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-utils": [
|
"flake-utils": [
|
||||||
|
|
10
flake.nix
10
flake.nix
|
@ -13,6 +13,11 @@
|
||||||
inputs.crane.inputs.flake-utils.follows = "flake-utils";
|
inputs.crane.inputs.flake-utils.follows = "flake-utils";
|
||||||
inputs.crane.inputs.nixpkgs.follows = "nixpkgs";
|
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.url = "github:numtide/devshell";
|
||||||
inputs.devshell.inputs.nixpkgs.follows = "nixpkgs";
|
inputs.devshell.inputs.nixpkgs.follows = "nixpkgs";
|
||||||
inputs.devshell.inputs.systems.follows = "systems";
|
inputs.devshell.inputs.systems.follows = "systems";
|
||||||
|
@ -31,6 +36,7 @@
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
advisory-db,
|
advisory-db,
|
||||||
crane,
|
crane,
|
||||||
|
custom-nixpkgs,
|
||||||
devshell,
|
devshell,
|
||||||
fenix,
|
fenix,
|
||||||
flake-utils,
|
flake-utils,
|
||||||
|
@ -39,7 +45,7 @@
|
||||||
flake-utils.lib.eachDefaultSystem (system: let
|
flake-utils.lib.eachDefaultSystem (system: let
|
||||||
pkgs = import nixpkgs {
|
pkgs = import nixpkgs {
|
||||||
inherit system;
|
inherit system;
|
||||||
overlays = [devshell.overlays.default];
|
overlays = [custom-nixpkgs.overlays.default devshell.overlays.default];
|
||||||
};
|
};
|
||||||
|
|
||||||
rustNightly = (import fenix {inherit pkgs;}).fromToolchainFile {
|
rustNightly = (import fenix {inherit pkgs;}).fromToolchainFile {
|
||||||
|
@ -90,7 +96,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
cargo-dist
|
cargo-dist-unstable
|
||||||
cargo-nextest
|
cargo-nextest
|
||||||
cargo-release
|
cargo-release
|
||||||
rustNightly
|
rustNightly
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue