Offline, privacy-first grammar checker. Fast, open-source, Rust-powered
feat(devshell): init devshell
Al Duncanson3950985b5160
diff --git a/.envrc b/.envrcnew file mode 100644index 000000000..3550a30f2--- /dev/null+++ b/.envrc@@ -0,0 +1 @@+use flakediff --git a/.gitignore b/.gitignoreindex ae876f3ab..70b28276d 100644--- a/.gitignore+++ b/.gitignore@@ -5,3 +5,6 @@ build.DS_Storenode_modules++# Ignore direnv files+.direnv/*diff --git a/flake.lock b/flake.locknew file mode 100644index 000000000..25fce10ee--- /dev/null+++ b/flake.lock@@ -0,0 +1,94 @@+{+ "nodes": {+ "nixpkgs": {+ "locked": {+ "lastModified": 1743568003,+ "narHash": "sha256-ZID5T65E8ruHqWRcdvZLsczWDOAWIE7om+vQOREwiX0=",+ "owner": "NixOS",+ "repo": "nixpkgs",+ "rev": "b7ba7f9f45c5cd0d8625e9e217c28f8eb6a19a76",+ "type": "github"+ },+ "original": {+ "id": "nixpkgs",+ "type": "indirect"+ }+ },+ "nixpkgs_2": {+ "locked": {+ "lastModified": 1736320768,+ "narHash": "sha256-nIYdTAiKIGnFNugbomgBJR+Xv5F1ZQU+HfaBqJKroC0=",+ "owner": "NixOS",+ "repo": "nixpkgs",+ "rev": "4bc9c909d9ac828a039f288cf872d16d38185db8",+ "type": "github"+ },+ "original": {+ "owner": "NixOS",+ "ref": "nixpkgs-unstable",+ "repo": "nixpkgs",+ "type": "github"+ }+ },+ "root": {+ "inputs": {+ "nixpkgs": "nixpkgs",+ "rust-overlay": "rust-overlay",+ "utils": "utils"+ }+ },+ "rust-overlay": {+ "inputs": {+ "nixpkgs": "nixpkgs_2"+ },+ "locked": {+ "lastModified": 1743647602,+ "narHash": "sha256-fXd8fA6HR7MlUJQzz31zjBzUji4HpGCJ7CMVKSZOe8c=",+ "owner": "oxalica",+ "repo": "rust-overlay",+ "rev": "5b2d60b2e25bcb498103f6fae08da561f6b671da",+ "type": "github"+ },+ "original": {+ "owner": "oxalica",+ "repo": "rust-overlay",+ "type": "github"+ }+ },+ "systems": {+ "locked": {+ "lastModified": 1681028828,+ "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",+ "owner": "nix-systems",+ "repo": "default",+ "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",+ "type": "github"+ },+ "original": {+ "owner": "nix-systems",+ "repo": "default",+ "type": "github"+ }+ },+ "utils": {+ "inputs": {+ "systems": "systems"+ },+ "locked": {+ "lastModified": 1731533236,+ "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",+ "owner": "numtide",+ "repo": "flake-utils",+ "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",+ "type": "github"+ },+ "original": {+ "owner": "numtide",+ "repo": "flake-utils",+ "type": "github"+ }+ }+ },+ "root": "root",+ "version": 7+}diff --git a/flake.nix b/flake.nixnew file mode 100644index 000000000..57ed3e1ba--- /dev/null+++ b/flake.nix@@ -0,0 +1,35 @@+{+ inputs = {+ utils.url = "github:numtide/flake-utils";+ rust-overlay.url = "github:oxalica/rust-overlay";+ };+ outputs = {+ self,+ nixpkgs,+ utils,+ rust-overlay,+ }:+ utils.lib.eachDefaultSystem (+ system: let+ overlays = [(import rust-overlay)];+ pkgs = import nixpkgs {+ inherit system overlays;+ };+ in {+ devShell = with pkgs;+ mkShell {+ buildInputs = [+ just+ bash+ cargo+ rustup+ pnpm+ nodejs+ wasm-pack+ zip+ pandoc+ ];+ };+ }+ );+}