diff --git a/flake.lock b/flake.lock index c303195f2..da8def48c 100644 --- a/flake.lock +++ b/flake.lock @@ -2,21 +2,16 @@ "nodes": { "crane": { "inputs": { - "flake-compat": "flake-compat", - "flake-utils": [ - "flake-utils" - ], "nixpkgs": [ "nixpkgs" - ], - "rust-overlay": "rust-overlay" + ] }, "locked": { - "lastModified": 1695511445, - "narHash": "sha256-mnE14re43v3/Jc50Jv0BKPMtEk7FEtDSligP6B5HwlI=", + "lastModified": 1712180168, + "narHash": "sha256-sYe00cK+kKnQlVo1wUIZ5rZl9x8/r3djShUqNgfjnM4=", "owner": "ipetkov", "repo": "crane", - "rev": "3de322e06fc88ada5e3589dc8a375b73e749f512", + "rev": "06a9ff255c1681299a87191c2725d9d579f28b82", "type": "github" }, "original": { @@ -25,32 +20,16 @@ "type": "github" } }, - "flake-compat": { - "flake": false, - "locked": { - "lastModified": 1673956053, - "narHash": "sha256-4gtG9iQuiKITOjNQQeQIpoIB6b16fm+504Ch3sNKLd8=", - "owner": "edolstra", - "repo": "flake-compat", - "rev": "35bb57c0c8d8b62bbfd284272c928ceb64ddbde9", - "type": "github" - }, - "original": { - "owner": "edolstra", - "repo": "flake-compat", - "type": "github" - } - }, "flake-utils": { "inputs": { "systems": "systems" }, "locked": { - "lastModified": 1694529238, - "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "ff7b65b44d01cf9ba6a71320833626af21126384", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", "type": "github" }, "original": { @@ -61,11 +40,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1695830400, - "narHash": "sha256-gToZXQVr0G/1WriO83olnqrLSHF2Jb8BPcmCt497ro0=", + "lastModified": 1712163089, + "narHash": "sha256-Um+8kTIrC19vD4/lUCN9/cU9kcOsD1O1m+axJqQPyMM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "8a86b98f0ba1c405358f1b71ff8b5e1d317f5db2", + "rev": "fd281bd6b7d3e32ddfa399853946f782553163b5", "type": "github" }, "original": { @@ -82,31 +61,6 @@ "nixpkgs": "nixpkgs" } }, - "rust-overlay": { - "inputs": { - "flake-utils": [ - "crane", - "flake-utils" - ], - "nixpkgs": [ - "crane", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1695003086, - "narHash": "sha256-d1/ZKuBRpxifmUf7FaedCqhy0lyVbqj44Oc2s+P5bdA=", - "owner": "oxalica", - "repo": "rust-overlay", - "rev": "b87a14abea512d956f0b89d0d8a1e9b41f3e20ff", - "type": "github" - }, - "original": { - "owner": "oxalica", - "repo": "rust-overlay", - "type": "github" - } - }, "systems": { "locked": { "lastModified": 1681028828, diff --git a/readme.md b/readme.md index 2f639caa2..9445280c5 100644 --- a/readme.md +++ b/readme.md @@ -40,6 +40,16 @@ This requires [Rust](https://www.rust-lang.org/tools/install) (>=1.75) to be ins ``` cargo install --git https://github.com/uiua-lang/uiua uiua ``` +- If you use Nix or NixOS, you can clone this repo and do following: + ``` + nix develop # to drop into a shell prompt with all the dependencies + cargo check # to make sure you can compile/build latest version + cargo build # to build latest debug version of uiua + cargo run repl # to get uiua repl + ``` + *Note:* If you encounter errors such as rustc or any other package + version mismatch, it is most likely that flake.lock file needs to be + updated to pull in updated dependencies for nix shell. ## Language and Font Support @@ -47,4 +57,4 @@ The Uiua native interpreter has a built-in language server that can be used by e You can find a list of editor extensions [here](https://uiua.org/docs/install#editor-support). -You can find a list of fonts that support Uiua's characters [here](https://uiua.org/docs/install#fonts). \ No newline at end of file +You can find a list of fonts that support Uiua's characters [here](https://uiua.org/docs/install#fonts).