]> Git — Sourcephile - sourcephile-nix.git/blob - build/default.nix
postgresql: options & config.
[sourcephile-nix.git] / build / default.nix
1 { pkgs ? import <nixpkgs> { overlays = import <nixpkgs-commonsoft/build/overlays.nix> ; }
2 , lib ? pkgs.lib
3 , modules ? [ (import ./modules.nix ) ]
4 }:
5 let config =
6 (import <nixpkgs-commonsoft/build/modules.nix> {
7 inherit pkgs lib modules;
8 }).config; in
9 pkgs.stdenv.mkDerivation {
10 name = "commonsoft-sys-build";
11 preferLocalBuild = true;
12 allowSubstitutes = false;
13 inherit (pkgs) coreutils;
14 builder = pkgs.writeText "builder.sh" config.init.builder;
15 }