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;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  system = config.nixpkgs.system;
 | 
			
		||||
 | 
			
		||||
in
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
@ -99,6 +101,7 @@ in
 | 
			
		||||
          config = mkMerge
 | 
			
		||||
            [ (mkIf options.config.isDefined {
 | 
			
		||||
                path = (import ../../lib/eval-config.nix {
 | 
			
		||||
                  inherit system;
 | 
			
		||||
                  modules =
 | 
			
		||||
                    let extraConfig =
 | 
			
		||||
                      { boot.isContainer = true;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user