Open copumpkin opened 7 years ago
As an aside: could you tag issues with the appropriate labels (e.g. "feature")?
I'd love to but have no powers to do so 😄 I always assumed you wanted to keep this repo far more locked down than nixpkgs so never bothered asking.
Sorry for bothering, is this feature being realized?
I was thinking about that today, maybe we could have a file in the generation folder with a message (or a json payload, with a message + date + other metadatas)
I marked this as stale due to inactivity. → More info
I marked this as stale due to inactivity. → More info
This is a new comment
I marked this as stale due to inactivity. → More info
I would really appreciate this. I use a Git repo to manage my Nix configs, and my ideal scenario would be to associate Git commit hashes with Nix generations. If there was an easy way to name a generation based on the result of a shell command, that would be amazing.
The
nix-env --list-generations
command is kind of cool, but doesn't actually tell you very much other than a date and a number. It'd be nice if we could associate at least a name (and ideally arbitrary other structured metadata, possibly as JSON) with a profile generation. My main use case around this is fornixos-rebuild
and thesystem
generation, but I'm sure folks would find uses for it around their user generations too.