mirror of
https://github.com/msfjarvis/clipboard-substitutor
synced 2025-08-14 21:17:01 +05:30
feat(flakes): adopt nix-systems for flake systems
This commit is contained in:
parent
9602bbd0b7
commit
bf33b30f8c
2 changed files with 29 additions and 37 deletions
45
flake.nix
45
flake.nix
|
@ -1,45 +1,34 @@
|
|||
{
|
||||
description = "clipboard-substitutor";
|
||||
|
||||
inputs = {
|
||||
nixpkgs = {url = "github:NixOS/nixpkgs/nixpkgs-unstable";};
|
||||
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
|
||||
fenix = {
|
||||
url = "github:nix-community/fenix";
|
||||
inputs = {
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
inputs.systems.url = "github:msfjarvis/flake-systems";
|
||||
|
||||
flake-utils = {url = "github:numtide/flake-utils";};
|
||||
inputs.advisory-db.url = "github:rustsec/advisory-db";
|
||||
inputs.advisory-db.flake = false;
|
||||
|
||||
flake-compat = {
|
||||
url = "github:nix-community/flake-compat";
|
||||
flake = false;
|
||||
};
|
||||
inputs.crane.url = "github:ipetkov/crane";
|
||||
inputs.crane.inputs.flake-compat.follows = "flake-compat";
|
||||
inputs.crane.inputs.flake-utils.follows = "flake-utils";
|
||||
inputs.crane.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
crane = {
|
||||
url = "github:ipetkov/crane";
|
||||
inputs = {
|
||||
flake-compat.follows = "flake-compat";
|
||||
flake-utils.follows = "flake-utils";
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
};
|
||||
inputs.fenix.url = "github:nix-community/fenix";
|
||||
inputs.fenix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
||||
advisory-db = {
|
||||
url = "github:rustsec/advisory-db";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
inputs.flake-utils.url = "github:numtide/flake-utils";
|
||||
inputs.flake-utils.inputs.systems.follows = "systems";
|
||||
|
||||
inputs.flake-compat.url = "github:nix-community/flake-compat";
|
||||
inputs.flake-compat.flake = false;
|
||||
|
||||
outputs = {
|
||||
self,
|
||||
nixpkgs,
|
||||
fenix,
|
||||
advisory-db,
|
||||
crane,
|
||||
fenix,
|
||||
flake-utils,
|
||||
advisory-db,
|
||||
...
|
||||
}:
|
||||
flake-utils.lib.eachDefaultSystem (system: let
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue