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

hxtools: many (most?) tools do not work #382005

Open
3 tasks done
Ramblurr opened this issue Feb 14, 2025 · 0 comments · May be fixed by #382023
Open
3 tasks done

hxtools: many (most?) tools do not work #382005

Ramblurr opened this issue Feb 14, 2025 · 0 comments · May be fixed by #382023
Assignees
Labels
0.kind: bug Something is broken

Comments

@Ramblurr
Copy link
Contributor

Ramblurr commented Feb 14, 2025

Nixpkgs version

  • Unstable (25.05)

Describe the bug

The hxtools package is improperly packaged. Many of the upstream tools embed the interpreter /bin/bash or /usr/bin/perl, which do not work on nixos.

Steps to reproduce

I personally wanted to use man2html which is how I discovered this bug. Many other utils seem affected too.

$ nix-shell -p hxtools
$ man2html -h
zsh: /nix/store/mil1y8z3519zdc53ljjygr06chdcmc3k-hxtools-20231224/bin/man2html: bad interpreter: /usr/bin/perl: no such file or directory
$ cwdiff -h
zsh: /nix/store/mil1y8z3519zdc53ljjygr06chdcmc3k-hxtools-20231224/bin/cwdiff: bad interpreter: /bin/bash: no such file or directory
$ fxterm
zsh: /nix/store/mil1y8z3519zdc53ljjygr06chdcmc3k-hxtools-20231224/bin/fxterm: bad interpreter: /bin/bash: no such file or directory
$ gpsh
zsh: /nix/store/mil1y8z3519zdc53ljjygr06chdcmc3k-hxtools-20231224/bin/gpsh: bad interpreter: /usr/bin/perl: no such file or directory
$ qtar -h
zsh: /nix/store/mil1y8z3519zdc53ljjygr06chdcmc3k-hxtools-20231224/bin/qtar: bad interpreter: /usr/bin/perl: no such file or director

Expected behaviour

the tools should work

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

  • system: "x86_64-linux"
  • host os: Linux 6.12.12, NixOS, 25.05 (Warbler), 25.05pre-git
  • multi-user?: yes
  • sandbox: yes
  • version: nix-env (Nix) 2.24.12
  • nixpkgs: /nix/store/j33wzkzndh41cyyy7i18bqm1srlv84cq-source

Notify maintainers

@meator @zimward

Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@Ramblurr Ramblurr added the 0.kind: bug Something is broken label Feb 14, 2025
@meator meator linked a pull request Feb 14, 2025 that will close this issue
13 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants