mirror of
https://github.com/fjvallarino/monomer.git
synced 2024-09-11 12:05:35 +03:00
nix: discover and build examples (#45)
This commit is contained in:
parent
ad16b56f04
commit
9958019c1e
@ -33,30 +33,9 @@ with super.haskellPackages.extend (self: super:
|
||||
'';
|
||||
})) GLEW;
|
||||
};
|
||||
executables = {
|
||||
todo = mkApp rec {
|
||||
executables = builtins.mapAttrs (name: _:
|
||||
mkApp {
|
||||
inherit name;
|
||||
drv = libraries.monomer;
|
||||
name = "todo";
|
||||
};
|
||||
books = mkApp rec {
|
||||
drv = libraries.monomer;
|
||||
name = "books";
|
||||
};
|
||||
ticker = mkApp rec {
|
||||
drv = libraries.monomer;
|
||||
name = "ticker";
|
||||
};
|
||||
generative = mkApp rec {
|
||||
drv = libraries.monomer;
|
||||
name = "generative";
|
||||
};
|
||||
tutorial = mkApp rec {
|
||||
drv = libraries.monomer;
|
||||
name = "tutorial";
|
||||
};
|
||||
opengl = mkApp rec {
|
||||
drv = libraries.monomer;
|
||||
name = "opengl";
|
||||
};
|
||||
};
|
||||
}) (builtins.readDir ../examples);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user