forked from mirrors/nixpkgs
Containers: Inherit the platform type of the host
http://hydra.nixos.org/build/10350055
This commit is contained in:
parent
9646ddc5a3
commit
5fa812ba5e
|
@ -23,6 +23,8 @@ let
|
||||||
inherit (pkgs) socat;
|
inherit (pkgs) socat;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
system = config.nixpkgs.system;
|
||||||
|
|
||||||
in
|
in
|
||||||
|
|
||||||
{
|
{
|
||||||
|
@ -99,6 +101,7 @@ in
|
||||||
config = mkMerge
|
config = mkMerge
|
||||||
[ (mkIf options.config.isDefined {
|
[ (mkIf options.config.isDefined {
|
||||||
path = (import ../../lib/eval-config.nix {
|
path = (import ../../lib/eval-config.nix {
|
||||||
|
inherit system;
|
||||||
modules =
|
modules =
|
||||||
let extraConfig =
|
let extraConfig =
|
||||||
{ boot.isContainer = true;
|
{ boot.isContainer = true;
|
||||||
|
|
Loading…
Reference in a new issue