1
Fork 0
mirror of https://github.com/RGBCube/alejandra synced 2025-07-31 12:37:45 +00:00

refactor: rm alejandra

- In order to clean the lockfile
This commit is contained in:
Kevin Amado 2022-01-31 18:33:51 -05:00
parent 8983c07050
commit 4633541af3
No known key found for this signature in database
GPG key ID: FFF341057F503148
3 changed files with 8 additions and 54 deletions

51
flake.lock generated
View file

@ -1,43 +1,5 @@
{ {
"nodes": { "nodes": {
"alejandra": {
"inputs": {
"alejandra": [
"alejandra"
],
"fenix": [
"fenix"
],
"flakeCompat": [
"flakeCompat"
],
"flakeUtils": [
"flakeUtils"
],
"nixpkgs": [
"nixpkgs"
],
"rustAnalyzer": [
"rustAnalyzer"
],
"treefmt": [
"treefmt"
]
},
"locked": {
"lastModified": 1643605065,
"narHash": "sha256-UPD3gVrq4TwkRL1dGXg9mU0YbbFAfM/HfRg3MeJVyu4=",
"owner": "kamadorueda",
"repo": "alejandra",
"rev": "0f5e67f50994710122b3908e349d727d459928f2",
"type": "github"
},
"original": {
"owner": "kamadorueda",
"repo": "alejandra",
"type": "github"
}
},
"fenix": { "fenix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -48,11 +10,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1643523738, "lastModified": 1643610217,
"narHash": "sha256-6XmIEKOtv26tO/wCPg/TQUKXFPfDKPS8pXOBEicSMsw=", "narHash": "sha256-3cFZt9Eyz70s1CNYO3wJeUDgLUC9tC4s5hNpLtX3FQY=",
"owner": "nix-community", "owner": "nix-community",
"repo": "fenix", "repo": "fenix",
"rev": "08742f341a9bcf35b9ee0092c4e9ab309c860558", "rev": "bd91b6fddf7fdf90ad9924339fcb40f008f57447",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -110,7 +72,6 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"alejandra": "alejandra",
"fenix": "fenix", "fenix": "fenix",
"flakeCompat": "flakeCompat", "flakeCompat": "flakeCompat",
"flakeUtils": "flakeUtils", "flakeUtils": "flakeUtils",
@ -122,11 +83,11 @@
"rustAnalyzer": { "rustAnalyzer": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1643580505, "lastModified": 1643645003,
"narHash": "sha256-6+d/x7ZIyvkPLdn7ziXuPyKfxt/7z5PCWs7B960DFqk=", "narHash": "sha256-uz+MXBcGoIqzc6acGB7GjJQsTWKr341+fjjv+pQR8N8=",
"owner": "rust-analyzer", "owner": "rust-analyzer",
"repo": "rust-analyzer", "repo": "rust-analyzer",
"rev": "fd3942eb620e37a4e4bfdd587d8a2893ccf6fea0", "rev": "4800c05a206eb156617b76fdb30af0b6c2c0fb26",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -1,12 +1,5 @@
{ {
inputs = { inputs = {
alejandra.url = "github:kamadorueda/alejandra";
alejandra.inputs.fenix.follows = "fenix";
alejandra.inputs.flakeCompat.follows = "flakeCompat";
alejandra.inputs.flakeUtils.follows = "flakeUtils";
alejandra.inputs.nixpkgs.follows = "nixpkgs";
alejandra.inputs.rustAnalyzer.follows = "rustAnalyzer";
alejandra.inputs.treefmt.follows = "treefmt";
fenix.url = "github:nix-community/fenix"; fenix.url = "github:nix-community/fenix";
fenix.inputs.nixpkgs.follows = "nixpkgs"; fenix.inputs.nixpkgs.follows = "nixpkgs";
fenix.inputs.rust-analyzer-src.follows = "rustAnalyzer"; fenix.inputs.rust-analyzer-src.follows = "rustAnalyzer";
@ -69,7 +62,6 @@
fenix.latest.rust-src fenix.latest.rust-src
fenix.latest.rustc fenix.latest.rustc
fenix.latest.rustfmt fenix.latest.rustfmt
inputs.alejandra.outputs.defaultPackage.${ system }
nixpkgs.cargo-tarpaulin nixpkgs.cargo-tarpaulin
nixpkgs.jq nixpkgs.jq
nixpkgs.nodejs nixpkgs.nodejs

View file

@ -6,8 +6,9 @@ includes = ["*.json"]
options = ["-S"] options = ["-S"]
[formatter.nix] [formatter.nix]
command = "alejandra" command = "cargo"
includes = ["*.nix"] includes = ["*.nix"]
options = ["run", "--"]
[formatter.prettier] [formatter.prettier]
command = "prettier" command = "prettier"