GithubHelp home page GithubHelp logo

Comments (5)

talyz avatar talyz commented on May 20, 2024

It looks like your issue is that you have

{
  fileSystems."/nix/persist".neededForBoot = true;
}

in your config, but /nix/persist isn't a file system. Just removing this line should make it work. /nix should already be marked neededForBoot, so you shouldn't have to care about that :)

from impermanence.

mogorman avatar mogorman commented on May 20, 2024

I don't have that set in my config, and if i had tried it would have failed as its not valid without a device.

building Nix...
building the system configuration...
error: while evaluating the attribute 'config.system.build.toplevel' at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:280:5:
while evaluating 'foldr' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:52:20, called from /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:130:12:
while evaluating 'fold'' at /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:55:15, called from /nix/var/nix/profiles/per-user/root/channels/nixos/lib/lists.nix:59:8:
while evaluating anonymous function at /nix/var/nix/profiles/per-user/root/channels/nixos/nixos/modules/system/activation/top-level.nix:123:50, called from undefined position:
while evaluating the attribute 'assertion' at /nix/store/26s6bkfh6gvq0zg0a9lgjs6p4i66r1hx-source/nixos.nix:190:11:
while evaluating 'markedNeededForBoot' at /nix/store/26s6bkfh6gvq0zg0a9lgjs6p4i66r1hx-source/nixos.nix:168:37, called from /nix/store/26s6bkfh6gvq0zg0a9lgjs6p4i66r1hx-source/nixos.nix:190:23:
while evaluating the attribute 'fileSystems."/nix/persist".neededForBoot' at undefined position:
attribute '/nix/persist' missing, at /nix/store/26s6bkfh6gvq0zg0a9lgjs6p4i66r1hx-source/nixos.nix:168:42

and the included configuration.nix

from impermanence.

talyz avatar talyz commented on May 20, 2024

Oh, whoops, it's actually because of an assertion we're making. That should be fixed.

from impermanence.

talyz avatar talyz commented on May 20, 2024

I've opened #13 which should fix this. Please try it out :)

from impermanence.

mogorman avatar mogorman commented on May 20, 2024

tried it out, fixes the problem. thank you.

from impermanence.

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.