-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Build failure: tinygo #286566
Comments
Somewhat finished my own first private nixpkg and NixOS module today, so I'm stumbling around that issue on my own for a minute or two. If I follow the suggestion about
Allowing unsupported system will lead to later assertion errors in the mentioned If you could give me a hint on how to reproducably build the |
|
@Aleksanaa I really appreciate hints on "you're doing it wrong", and it would be very helpful to have some additional "this is one way you can do it right". If I just merge the referenced commit I still need some advice on verifying it locally. |
The commit points to the problem, not fixing it. To include the package without needing to fix the test failure, you can use However, it's also not advised to add a compiler to your home configuration. Instead, use tools like nix-direnv, devenv or devshell. |
Thank you for your enlightening insights. I'll fork and fiddle on the TinyGo for this one, so it should be self-curing as far as nixpkgs is concerned. |
The next TinyGo release should fix a lot of these issues because now we're actually testing Nix support in CI (through flakes, but still). Take a look at this PR for example which I'll make ready once the coming release happens: These are the PRs that added Nix support to TinyGo, they might be worth backporting if you don't want to wait until the next release: |
Fixed with #262346 |
If this is a dup I was unable to find it.
Steps To Reproduce
Steps to reproduce the behavior:
tinygo
package in my home-manager configuration literally forever and simply rannixos-rebuild switch --upgrade
some day end of January 2024 to see it fail.Build log
The interesting part before build ends with failure is:
So build itself worked,
checkPhase
did find neithernode
norwhich
and afterwards some build IDs went missing.Additional context
It run until ~January 2024 or so, so I heavily guess it's not the package but something else.
If I simply try
nix-build -E 'with import <nixpkgs> {}; callPackage /code/world/nixpkgs/pkgs/development/compilers/tinygo/d efault.nix {}'
it fails with a complete different reason:It looks like wasilibc was updated to v21 for llvm17 support a few weeks ago.
I'm using "testing" Home Manager from
https://github.com/nix-community/home-manager/archive/master.tar.gz
, if that's of any interest.Notify maintainers
@Madouura @muscaln
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.The text was updated successfully, but these errors were encountered: