Conversation
There was a problem hiding this comment.
| buildInputs = [ groff libxml2 opensp libiconv iconv bash ] | |
| buildInputs = [ groff libxml2 opensp libiconv bash ] |
also we should set strictDeps
4677a38 to
e5f4ec6
Compare
Related: NixOS#328783 Ref: NixOS#178468
e5f4ec6 to
52cdd2a
Compare
|
@ofborg eval |
|
This pull request has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/prs-already-reviewed/2617/2143 |
|
|
||
| nativeBuildInputs = [ makeWrapper perlPackages.perl texinfo libxslt ]; | ||
| buildInputs = [ groff libxml2 opensp libiconv iconv bash ] | ||
| strictDpes = true; |
There was a problem hiding this comment.
strictDeps = true;
There is a typo there!
There was a problem hiding this comment.
Ooops, sorry, and thank you for spotting this. Fix: #400315
There was a problem hiding this comment.
this package doesn't work correctly under strictDeps, see #412735. the issue is that configure.ac does a few AC_PATH_PROG for sgml2xml, sx and osx and embeds these paths into the code (so really this should be AC_PATH_TOOL as these are host deps).
this breaks with strictDeps since buildInputs are no longer in PATH. I'm not good at autotools, do you if there's any agreed on way in nixpkgs to package things that make use of AC_PATH_TOOL and friends?
Fixes NixOS#412735. NixOS#358347 / NixOS#400315 left the package broken because configure searces for osx in PATH and hardcodes its path on the Perl code. strictDeps logically prevents the dependency from being in PATH, so an empty string is hardcoded and `sgml2xml-isoent` doesn't work. The best fix that comes to mind is overriding the autoconf test result via the environment variable.
Fixes NixOS#412735. NixOS#358347 / NixOS#400315 left the package broken because configure searces for osx in PATH and hardcodes its path on the Perl code. strictDeps logically prevents the dependency from being in PATH, so an empty string is hardcoded and `sgml2xml-isoent` doesn't work. The best fix that comes to mind is overriding the autoconf test result via the environment variable.
Fixes NixOS#412735. NixOS#358347 / NixOS#400315 left the package broken because configure searces for osx in PATH and hardcodes its path on the Perl code. strictDeps logically prevents the dependency from being in PATH, so an empty string is hardcoded and `sgml2xml-isoent` doesn't work. The best fix that comes to mind is overriding the autoconf test result via the environment variable.
Fixes #412735. #358347 / #400315 left the package broken because configure searces for osx in PATH and hardcodes its path on the Perl code. strictDeps logically prevents the dependency from being in PATH, so an empty string is hardcoded and `sgml2xml-isoent` doesn't work. The best fix that comes to mind is overriding the autoconf test result via the environment variable. (cherry picked from commit d822ab9)
Related: #328783
Ref: #178468
Things done
nix.conf? (See Nix manual)sandbox = relaxedsandbox = truenix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/)Add a 👍 reaction to pull requests you find important.