Closed Mazurel closed 2 months ago
Can be closed, ran it on x86_64-linux succesfully
$ nix flake check "github:nix-community/napalm" --no-write-lock-file
warning: The check omitted these incompatible systems: aarch64-darwin, aarch64-linux, x86_64-darwin
Use '--all-systems' to check all.
This repo provides a basic
flake.nix
file, but it looks like it is not working correctly when it comes tonix flake check
. Running it likenix flake check "github:nix-community/napalm" --no-write-lock-file
results in error:From my tests, it looks like this error does not occur only when supported systems is only
x86_64-linux
. This issue can be easily fixed by supporting only this system, although I do not know how the maintainers would see this solution. I would also suggest using pinnednixpkgs
as flake inputs so that the flake would be "safer" aka usingflake.lock
.In case the solution that I suggested is acceptable, I can make PR with proper changes.