-
Notifications
You must be signed in to change notification settings - Fork 4
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
error running with nix run and flake input #35
Comments
Hi, @haztecaso!
|
Hi! Thanks for your answer. My nix version is autofirma-nix = {
url = "github:nilp0inter/autofirma-nix/release-24.05";
inputs.nixpkgs.follows = "nixpkgs";
}; and autofirma-nix = {
url = "github:nilp0inter/autofirma-nix";
inputs.nixpkgs.follows = "unstable";
}; |
Hi, @haztecaso. We’ve just tried (@CesarGallego & myself) unsuccessfully to reproduce¹ the issue on a NixOS system tracking After reviewing the error message you provided, I think that the issue might lie somewhere else, because of the "No such file or directory" error message. This makes me think that perhaps you have added a file on your flake that is not yet under version control? If that was to be the case, just EDIT: maybe Also, and out of an abundance of caution, make sure that you don’t invoke Hope that it helps, keep us posted! ¹: |
This issue is stale because it has been open for 14 days with no activity. |
I encountered an error while trying to use autofirma-nix both with
nix run
and when importing it into my NixOS flake to use it as a NixOS module. The error I get is the same in both cases. When I run it withnix run
I get an extra warning about the substituter that I suspect may be related with the cause of the problem.The first time I ran the command it asked me if I wanted to include the substituter and signatures, I said yes to everything and the app worked without any problem. After that first run I started getting this error.
In the case of nix flakes I get the error just by adding it to my inputs, without even trying to use it anywhere. This is very weird to me, as in my mind nix is lazy, so it shouldn't try to evaluate something if I'm not using it.
Thanks a lot for the help and all the development effort!
The text was updated successfully, but these errors were encountered: