diff --git a/src/content/blog/packaging-go-cli-as-flake.md b/src/content/blog/packaging-go-cli-as-flake.md index 7147684..5167e10 100644 --- a/src/content/blog/packaging-go-cli-as-flake.md +++ b/src/content/blog/packaging-go-cli-as-flake.md @@ -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. + +

now i just need u to fall for nix thirst traps

— juwee (@juweeism) March 30, 2024
+ 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. diff --git a/src/layouts/BlogPost.astro b/src/layouts/BlogPost.astro index f11c5f2..2692e2b 100644 --- a/src/layouts/BlogPost.astro +++ b/src/layouts/BlogPost.astro @@ -33,8 +33,7 @@ const { title, description, pubDate, updatedDate, heroImage } = Astro.props; ) } -

{title}

-
+

{title}