Netboot: Difference between revisions

imported>Erikarvstedt
mNo edit summary
imported>Erikarvstedt
mNo edit summary
Line 32: Line 32:
   run-pixiecore = let
   run-pixiecore = let
     hostPkgs = if sys.pkgs.system == builtins.currentSystem
     hostPkgs = if sys.pkgs.system == builtins.currentSystem
                      then sys.pkgs
              then sys.pkgs
                      else nixpkgs.legacyPackages.${builtins.currentSystem};
              else nixpkgs.legacyPackages.${builtins.currentSystem};
     build = sys.config.system.build;
     build = sys.config.system.build;
   in hostPkgs.writers.writeBash "run-pixiecore" ''
   in hostPkgs.writers.writeBash "run-pixiecore" ''
Line 44: Line 44:
in
in
   run-pixiecore
   run-pixiecore
</syntaxHighlight>
</syntaxHighlight>