Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nixpkgs: expose .git-revision in the nixexprs like NixOS
nixos/lib/make-channel.nix:16: echo -n ${nixpkgs.rev or nixpkgs.shortRev} > .git-revision This means the .git-revision exists in nixos channels, but not Nixpkgs channels. Adding it to the nixpkgs channel makes it a common API for any Nixpkgs use cases.
- Loading branch information