| 16 Mar 2024 |
fricklerhandwerk | There's some top-level attribute rev being passed through to the manual rendering machinery, which is used to create the source links. It comes from flake.nix, but I just can't find where and how it's set.
Ideas?
| 21:53:40 |
fricklerhandwerk | * There's some top-level attribute rev being passed through to the Nixpkgs manual rendering machinery, which is used to create the source links. It comes from flake.nix, but I just can't find where and how it's set.
Ideas?
| 21:53:58 |
pennae | set by the flake machinery because it's a git repo, probably | 21:54:42 |
fricklerhandwerk | In reply to @pennae:matrix.eno.space set by the flake machinery because it's a git repo, probably Hm no, at least I don't see how a flake would do that. An empty flake like this:
{
outputs = { self, ... }: {
foo = self;
};
}
called with nix eval .#foo doesn't show a rev attribute.
| 21:59:30 |
fricklerhandwerk | In reply to @pennae:matrix.eno.space set by the flake machinery because it's a git repo, probably * Hm no, at least I don't see how a flake would do that. An empty flake in a Git repo, like this:
{
outputs = { self, ... }: {
foo = self;
};
}
called with nix eval .#foo doesn't show a rev attribute.
| 21:59:58 |
pennae | commit it | 22:03:24 |
fricklerhandwerk | I did | 22:03:31 |