mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
Export a function for building NixOS system configurations
This commit is contained in:
parent
123dea9b0d
commit
57ccd736bb
1 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,9 @@
|
||||||
provides = flakes:
|
provides = flakes:
|
||||||
let pkgs = import ./. { system = "x86_64-linux"; }; in
|
let pkgs = import ./. { system = "x86_64-linux"; }; in
|
||||||
{
|
{
|
||||||
lib = import ./lib;
|
lib = (import ./lib) // {
|
||||||
|
nixosSystem = import ./nixos/lib/eval-config.nix;
|
||||||
|
};
|
||||||
|
|
||||||
builders = {
|
builders = {
|
||||||
inherit (pkgs) stdenv fetchurl;
|
inherit (pkgs) stdenv fetchurl;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue