Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possibly missing documentation: ob depends on nix-command being on #1072

Open
hacklschorsch opened this issue Apr 8, 2024 · 1 comment
Open

Comments

@hacklschorsch
Copy link

I just installed Obelisk (and nix) fresh on a Mac. ob init runs fine, but ob run fails with this not very informative message:

./.obelisk/impl: command not cached, building ...
✔ Built on ./.obelisk/impl [command]
Process exited with code 1; /nix/store/3xsy9ydsc6csyz8lcrbbp9d9d3xq2kjg-nix-2.11.0/bin/nix eval --impure --expr $'(let a = import ./. {}; in toString (a.reflex.nixpkgs.lib.isDerivation a.passthru.staticFilesImpure))' --raw

Digging a bit it seems nix-command has to be turned on in nix.conf

# ~/.config/nix/nix.conf
experimental-features = nix-command

But that's not documented in the install section of the readme IIANM?

@alexfmpe
Copy link
Contributor

alexfmpe commented Apr 8, 2024

this not very informative message:

FWIW --verbose or -v give more details

But that's not documented in the install section of the readme IIANM?

True, and it has bitten people before as it's a sneaky impurity on the nix config: #1010 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants