aboutsummaryrefslogtreecommitdiff
path: root/_articles/2020-10-05-cargo2nix-dramatically-simpler-rust-in-nix.md
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-01-16 17:51:24 -0300
committerEuAndreh <eu@euandre.org>2022-01-16 17:51:24 -0300
commit10183930c9b51826446872ec2becec52ada16ece (patch)
tree1f6d665d2b24738c9f11c42213657dea5793a967 /_articles/2020-10-05-cargo2nix-dramatically-simpler-rust-in-nix.md
parentstatic/attachments/: Embed archived repository tarballs (diff)
downloadeuandre.org-10183930c9b51826446872ec2becec52ada16ece.tar.gz
euandre.org-10183930c9b51826446872ec2becec52ada16ece.tar.xz
{swift,cargo}2nix: Update articles to point to archived tarballs
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.