Giter Club home page Giter Club logo

nixos-pxe-installer's Issues

ARM

Anyone have experience with getting ARM support for this?

"cloning builder process: Operation not permitted"

I think I'm pretty close to getting this work, though it fails close to the end of build with the following error (sorry for the screen shot)

Imgur

This is installing Nixos 18.09, the closest issue I could find is this, but I'm not sure how to proceed with debugging this

Can't get an image to build

Sorry for opening essentially A support request, I'm not sure if this a bug or if I can't figure out how to use it.

I followed the instructions on a nixos 18.09 machine as was able to build the installer, but using the example for how to build an image

with import <nixpkgs> {};

let
  installImageConfig = {
    installImage = {
      nixpkgs.path = ./nixpkgs;
    };
  };
  installImage = (import <nixpkgs/nixos/lib/eval-config.nix> {
    modules = [ modules/install-image.nix
                installImageConfig ];
  }).config.system.build.installImage;
in
  with installImage;
    [ tarball config ]

I ran into a few strange issues.

Following that example exactly, I ran into an error error: cannot coerce a built-in function to a string, at /root/nixos-pxe-installer/modules/install-image.nix:62:20 after playing with the code in nix repl (and using print debugging) I found what happens is that readlink -f doesn't return anything.

If I remove the readlink on line 60, it returns an absolute path, but then I get an error, unable to cd to /root/nixos-pxe-installer/nixpkgs which occurs on line 77.

I assume this script needs the nixpkgs to be in the nix store, so I also tried pre-"realising" the path by changing nixpkgs.path = ./nixpkgs to nixpkgs.path = ${./nixpkgs} which also returns cannot cd to /nix/store/$sha-nixpkgs from line 77.

I also tried running this script as a non-root user, but it had the same behavior. Unfortunately, while I have Linux experience, I have no idea why cd doesn't work and haven't been able to find any reasons for it, so I was hoping you could help guide me to a solution.

Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.