about summary refs log tree commit diff
path: root/default.nix
Commit message (Collapse)AuthorAgeFilesLines
* default.nix: Clean up and preperly name space libaszlig2016-05-161-6/+4
| | | | | | | | | | We want to have lib.vuizvui instead of polluting the <nixpkgs/lib> namespace with our functions. Apart from that the default.nix was broken because of 49dc58c, which factored away the argument from <vuizvui/machines>. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* default.nix: Hook in functions from lib/aszlig2016-05-031-2/+1
| | | | | | | | | | | | | | We now have a common library for Vuizvui functions, so we can expose it using the default.nix to make them accessible via (import <vuizvui> {}).lib ... very similar to (import <nixpkgs> {}).lib in addition to the shorter form (which is also possible for <nixpkgs/lib>): import <vuizvui/lib> Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* default.nix: Just make an alias to ./machinesaszlig2016-02-081-4/+3
| | | | | | | | | | | | | Suggestion by @Profpatsch to introduce consistent behaviour of the top- level expression so we can now use: nix-build '<vuizvui>' -A machines.aszlig.tishtushi.build .. the same way as: nix-build '<vuizvui/machines>' -A aszlig.tishtushi.build Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* lib/call-machine: Introduce .build shortcutaszlig2016-02-081-3/+4
| | | | | | | | | | | | | | | | | | | The shortcut is mainly to make things a bit easier, instead of: nix-build '<vuizvui/machines>' \ -A aszlig.tishtushi.eval.config.system.build.toplevel We can now do something like this: nix-build '<vuizvui/machines>' \ -A aszlig.tishtushi.build ... in order to get a system store path out of a machine definition. This also fixes an evaluation error in the top-level default.nix. Thanks to @Profpatsch for bringing this to my attention. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Handle all <nixpkgs> paths with nixpkgs-path.nix.aszlig2015-04-291-3/+3
| | | | | | | | | This file is just defaulting to <nixpkgs>, but we're going to substitue it by the channel generator. We also need to make sure that we don't have any other references to <nixpkgs>, but the latter can best be done on Hydra's side if we don't make <nixpkgs> available to vuizvui builds. Signed-off-by: aszlig <aszlig@redmoonstudios.org>
* Add a default.nix which servers as vuizvui root.aszlig2015-04-151-0/+16
In the end we want to have something like (import <vuizvui> {}), which exports all stuff we need for building machines, packages, providing custom helper functions and much more. And all that by using a channel instead of setting NIX_PATH directly :-) Signed-off-by: aszlig <aszlig@redmoonstudios.org>