Coder Social home page Coder Social logo

Comments (8)

adamecooper avatar adamecooper commented on May 5, 2024

The apply script is available in the nix store:

ls -l /nix/store/9vi19cpxijbhf6h0kcr07wl40d53qbzv-source/apps/x86_64-linux/       
total 32
-r-xr-xr-x 1 root root 4144 Dec 31  1969 apply
-r-xr-xr-x 1 root root  580 Dec 31  1969 build-switch
-r-xr-xr-x 1 root root 1019 Dec 31  1969 check-keys
-r-xr-xr-x 1 root root 1807 Dec 31  1969 copy-keys
-r-xr-xr-x 1 root root  688 Dec 31  1969 create-keys
-r-xr-xr-x 1 root root 1722 Dec 31  1969 install
-r-xr-xr-x 1 root root 2592 Dec 31  1969 install-with-secrets

I think the issue may be caused by using the relative path (./bin/apply) to call apply.

from nixos-config.

dustinlyons avatar dustinlyons commented on May 5, 2024

Hi @adamecooper, thanks for bringing this to my attention. I recently refactored a bunch and it looks like I introduced a regression. Let me take a look and see if I can run through the x86_64-linux install.

./bin/apply was the old directory path.

from nixos-config.

dustinlyons avatar dustinlyons commented on May 5, 2024

I made a fix to the incorrect ./bin/apply path. Can you try again?

from nixos-config.

adamecooper avatar adamecooper commented on May 5, 2024

Hi @dustinlyons, I just ran the install command again, and got a new error this time :)

...
+ run_disko
+ sudo nix run --extra-experimental-features nix-command --extra-experimental-features flakes github:nix-community/disko -- --mode zap_create_mount ./nixos/disk-config.nix
aborted: disko config must be an existing file or flake must be set

from nixos-config.

dustinlyons avatar dustinlyons commented on May 5, 2024

@adamecooper Oops, I missed that path too. Thanks for being the tester today :)

I just fixed that path.

Apologies, I don't have much time today to test the install end-to-end but this should work now.

from nixos-config.

adamecooper avatar adamecooper commented on May 5, 2024

@dustinlyons no worries, thank you so much for making these fixes! The installation appears to be proceeding successfully now. Will report back once it completes.

from nixos-config.

adamecooper avatar adamecooper commented on May 5, 2024

@dustinlyons, confirming that the installation was successful 🎉 Time to start customizing. Thanks again for the help, and happy new year!

from nixos-config.

dustinlyons avatar dustinlyons commented on May 5, 2024

Awesome, great to hear. Thanks for finding some bugs! Happy new year and feel free to reach out if you have any Nix questions.

from nixos-config.

Related Issues (20)

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.