Skip to main content

Nix

2023


Microblog 11

·1 min
Ever wanted to synchronize the locked version of flake inputs between different projects / flakes? I have a solution for you! I’ve been working on https://git.vdx.hu/voidcontext/lamina-rs for a while. It doesn’t support every possible flake input, but it is in a good enough spot to share.

Microblog 9

·1 min
Today’s achievement: I created a Woodpecker CI plugin, with nix pre-conifigured and attic (the client of the self-hosted nix binary cache) pre-installed. It’s using its own image to build itself. The image is built using nix. It is available at https://git.vdx.hu/voidcontext/woodpecker-plugin-nix-attic.

Microblog 5

·1 min

Note to self: when writing scripts depending on more than a couple of other binaries, it’s better to use pkgs.writeShellApplication rather than pkgs.writeShellScriptBin.

This way you can safely use binary instead of ${pkgs.package}/bin/binary.