mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
flake.nix: Remove redundant module lambda
This commit is contained in:
parent
439d7d493d
commit
a2710255c9
@ -41,11 +41,11 @@
|
||||
|
||||
in
|
||||
map addModuleDeclarationFile modules ++ [
|
||||
({ config, ... }: {
|
||||
{
|
||||
system.nixos.versionSuffix =
|
||||
".${final.substring 0 8 (self.lastModifiedDate or self.lastModified or "19700101")}.${self.shortRev or "dirty"}";
|
||||
system.nixos.revision = final.mkIf (self ? rev) self.rev;
|
||||
})
|
||||
}
|
||||
];
|
||||
});
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user