Skip to content

Commit

Permalink
Set system.configurationRevision
Browse files Browse the repository at this point in the history
  • Loading branch information
davidtwco committed Aug 9, 2020
1 parent 766b476 commit 8b04dda
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions flake.nix
Expand Up @@ -82,6 +82,10 @@
extraOptions = "experimental-features = nix-command flakes";
};
})
({ lib, ... }: {
# Set the system configuration revision.
system.configurationRevision = lib.mkIf (self ? rev) self.rev;
})
({ inputs, ... }: {
# Re-expose self and nixpkgs as flakes.
nix.registry = {
Expand Down

0 comments on commit 8b04dda

Please sign in to comment.