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

mlterm: build fails due to missing tar file (nixos-unstable) #156856

Closed
barryfm opened this issue Jan 26, 2022 · 1 comment · Fixed by #156860
Closed

mlterm: build fails due to missing tar file (nixos-unstable) #156856

barryfm opened this issue Jan 26, 2022 · 1 comment · Fixed by #156860

Comments

@barryfm
Copy link
Contributor

barryfm commented Jan 26, 2022

Describe the bug

When building system containing mlterm, the github derived file name for the source package
does not exist.

Steps To Reproduce

Steps to reproduce the behavior:

  1. nix-build -A mlterm

or include mlterm in nixos-rebuild switch --update

Gets error:

building '/nix/store/g90wwdp19hpd8s1v6mcz75g7zk937zyb-source.drv'...

trying https://github.com/arakiken/mlterm/archive/rel-3_9_2.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   126  100   126    0     0    461      0 --:--:-- --:--:-- --:--:--   463
  0    14    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404
error: cannot download source from any mirror
error: builder for '/nix/store/g90wwdp19hpd8s1v6mcz75g7zk937zyb-source.drv' failed with exit code 1
error: 1 dependencies of derivation '/nix/store/0b899pv8xyrfq65w0cs2v017pcbw4nfk-mlterm-3.9.2.drv' failed to build

Expected behavior

A sucessfull build or install

Notify maintainers

@vrthra @RamKromberg @Atemu

Metadata

Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.

 /nix/store/jaa5l5g36aj1wwlmk9lqhslclmdqms3x-bash-interactive-5.1-p12-dev
copying path '/nix/store/jaa5l5g36aj1wwlmk9lqhslclmdqms3x-bash-interactive-5.1-p12-dev' from 'https://cache.nixos.org'...
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.93, NixOS, 22.05 (Quokka)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.5.1`
 - channels(root): `"nixos-22.05pre348581.c07b471b52b"`
 - channels(barry): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`
Atemu added a commit to Atemu/nixpkgs that referenced this issue Jan 26, 2022
The maintainer decided to change the release tag name after the fact.

The new naming scheme is a lot more sane but I'd rather they didn't change it
after releasing with the old one.

Fixes NixOS#156856
@Atemu
Copy link
Member

Atemu commented Jan 26, 2022

Fixed by #156860

In the meantime, run nix-build https://github.com/NixOS/nixpkgs/archive/fb2b2f59c83316e727dc679f1b8b65afd692cccb.tar.gz -A mlterm.src and then your system should build again.

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

Successfully merging a pull request may close this issue.

2 participants