aboutsummaryrefslogtreecommitdiff
path: root/_articles/2020-10-05-cargo2nix-dramatically-simpler-rust-in-nix.md
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_articles/2020-10-05-cargo2nix-dramatically-simpler-rust-in-nix.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/_articles/2020-10-05-cargo2nix-dramatically-simpler-rust-in-nix.md b/_articles/2020-10-05-cargo2nix-dramatically-simpler-rust-in-nix.md
index 85dfe4f..368b62a 100644
--- a/_articles/2020-10-05-cargo2nix-dramatically-simpler-rust-in-nix.md
+++ b/_articles/2020-10-05-cargo2nix-dramatically-simpler-rust-in-nix.md
@@ -15,14 +15,13 @@ ref: cargo2nix-dramatically-simpler-rust-in-nix
In the same vein of my earlier post on
[swift2nix]({% link _articles/2020-10-05-swift2nix-run-swift-inside-nix-builds.md %}), I
was able to quickly prototype a Rust and Cargo variation of it:
-[cargo2nix][cargo2nix].
+[cargo2nix].
The initial prototype is even smaller than swift2nix: it has only
-[37 lines of code][37-lines].
+37 lines of code.
-[cargo2nix]: https://euandreh.xyz/cargo2nix.git/
-[37-lines]: https://euandreh.xyz/cargo2nix.git/tree/default.nix?id=472dde8898296c8b6cffcbd10b3b2c3ba195846d
+[cargo2nix]: https://euandre.org/static/attachments/cargo2nix.tar.gz
Here's how to use it (snippet taken from the repo's README):
@@ -74,9 +73,10 @@ Try out the demo (also taken from the repo's README):
```shell
pushd "$(mktemp -d)"
-git clone https://euandreh.xyz/cargo2nix-demo.git
+wget -O- https://euandre.org/static/attachments/cargo2nix-demo.tar.gz |
+ tar -xv
cd cargo2nix-demo/
nix-build
```
-Report back if you wish. Again, patches welcome.
+Report back if you wish.