add tweet reference

This commit is contained in:
2024-09-07 17:39:15 +01:00
parent ddbdff8c26
commit 44b52d8751
2 changed files with 5 additions and 2 deletions

View File

@@ -4,6 +4,10 @@ description: a guide in how to package a go cli as a nix flake
pubDate: '7 Sept 2024'
---
after being psyop-ed into using neovim, i have now also been manipulated into using [nix](https://nixos.org/), an awesome package manager that deserves more attention.
<blockquote class="twitter-tweet" data-theme="dark"><p lang="en" dir="ltr">now i just need u to fall for nix thirst traps</p>&mdash; juwee (@juweeism) <a href="https://twitter.com/juweeism/status/1774069826241352146?ref_src=twsrc%5Etfw">March 30, 2024</a></blockquote> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
this is an article on how to package a go cli as a nix flake. however, instead of using a new go project, i will use [`nanoc`](https://github.com/nanopack-buffer/nanoc), the [NanoPack](https://nanopack.dev) codegen tool written in go as an example, because i think it more practically reflects how a flake is packaged.
this guide assumes that you have some basic knowledge of the nix language. you can [learn about the language basics here](https://nix.dev/tutorials/nix-language.html). regardless, i will try to map nix's constructs to more conventional JavaScript to hopefully make it easier to understand.

View File

@@ -33,8 +33,7 @@ const { title, description, pubDate, updatedDate, heroImage } = Astro.props;
)
}
</div>
<h1 class="m-0 mt-4">{title}</h1>
<hr />
<h1 class="m-0 my-4">{title}</h1>
</div>
<slot />
</div>