mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-11 15:26:03 +03: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