qfpl / reflex-realworld-example

BSD 2-Clause "Simplified" License
33 stars 9 forks source link

error Process exited with code 1; 'nix' 'eval' when running ob #21

Open bakwan79 opened 10 months ago

bakwan79 commented 10 months ago

Hello,

Beginner here, I followed the readme, used docker to create the database. When I excute "ob run", a lot things compile but finally I have the following error message :

Process exited with code 1; 'nix' 'eval' '-f' '.' '(let a = import ./. {}; in toString (a.reflex.nixpkgs.lib.isDerivation a.passthru.staticFilesImpure))' '--raw'

I had the problem with a Ubuntu 22.04 Os on my local machine and the same happened under Nixos on an EC2 VM. I found via google a post suggesting to excute the command in the CLI, which resulted in this message "error: experimental Nix feature 'nix-command' is disabled; use '--extra-experimental-features nix-command' to override" and I don't know what to do with that.

Thanks for your help bakwan

bakwan79 commented 10 months ago

I have gathered some more infos, the problem is raised by this command that is executed in a nix-shell : /nix/store/a5l11f3dcgvh13wxn4kfnxq27ydlzrjm-obelisk-command-0.1/bin/.ob-wrapped --no-handoff --verbose internal run-static-io 01489bf44eb91e7f793dea3f236c5989