mirror of
https://github.com/sstent/vmimages.git
synced 2025-12-06 06:01:51 +00:00
11 lines
284 B
Nix
11 lines
284 B
Nix
{
|
|
self,
|
|
platforms,
|
|
lib,
|
|
} @ args:
|
|
with {inherit (lib) makeExtensible attrValues foldr;};
|
|
(makeExtensible (final:
|
|
with final;
|
|
(import ./map.nix args).modules ./. (file: import file args)))
|
|
.extend
|
|
(final: prev: foldr (x: y: x // y) {} (attrValues prev)) |