forked from Fediversity/fediversity.eu
add resulting Nix value to default.nix outputs
this is practical for debugging and demonstration purposes
This commit is contained in:
parent
7b2ded053b
commit
648227d1b6
|
@ -15,11 +15,8 @@ let
|
||||||
new // { types = prev.recursiveUpdate prev.types new.types; };
|
new // { types = prev.recursiveUpdate prev.types new.types; };
|
||||||
lib'' = lib.extend lib';
|
lib'' = lib.extend lib';
|
||||||
in
|
in
|
||||||
{
|
rec {
|
||||||
lib = import ./lib.nix { inherit lib; };
|
lib = import ./lib.nix { inherit lib; };
|
||||||
|
|
||||||
build =
|
|
||||||
let
|
|
||||||
result = lib''.evalModules {
|
result = lib''.evalModules {
|
||||||
modules = [
|
modules = [
|
||||||
./structure
|
./structure
|
||||||
|
@ -32,8 +29,8 @@ in
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
in
|
|
||||||
result.config.build;
|
inherit (result.config) build;
|
||||||
|
|
||||||
shell = pkgs.mkShellNoCC {
|
shell = pkgs.mkShellNoCC {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
|
|
Reference in a new issue