Q: Why were my nix-generated docker images so darn bigger than expected? A: I use a git checkout for nixpkgs, so I may edit it, and for the sake of extensibility (that I requested), nix added all of it, including 1.2GB of git history, to the image.
It's a working checkout. It's *supposed* to keep growing. Instead I'll try using git worktree so I have the entire history, but in a different directory. Problem: how may I ensure I get the output of `git describe --tags` for my nixpkgs in the image?
-
-
I don't know.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Read my blog!