about summary refs log tree commit diff
path: root/pkgs/development/tools/misc/texinfo/common.nix
AgeCommit message (Collapse)AuthorFilesLines
13 daystreewide: replace `stdenv.is` with `stdenv.hostPlatform.is`Artturin1-3/+3
In preparation for the deprecation of `stdenv.isX`. These shorthands are not conducive to cross-compilation because they hide the platforms. Darwin might get cross-compilation for which the continued usage of `stdenv.isDarwin` will get in the way One example of why this is bad and especially affects compiler packages https://www.github.com/NixOS/nixpkgs/pull/343059 There are too many files to go through manually but a treewide should get users thinking when they see a `hostPlatform.isX` in a place where it doesn't make sense. ``` fd --type f "\.nix" | xargs sd --fixed-strings "stdenv.is" "stdenv.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "stdenv'.is" "stdenv'.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "clangStdenv.is" "clangStdenv.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "gccStdenv.is" "gccStdenv.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "stdenvNoCC.is" "stdenvNoCC.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "inherit (stdenv) is" "inherit (stdenv.hostPlatform) is" fd --type f "\.nix" | xargs sd --fixed-strings "buildStdenv.is" "buildStdenv.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "effectiveStdenv.is" "effectiveStdenv.hostPlatform.is" fd --type f "\.nix" | xargs sd --fixed-strings "originalStdenv.is" "originalStdenv.hostPlatform.is" ```
2024-07-21texinfo: set texinfo_cv_sys_iconv_converts_euc_cn=yes when cross compiling ↵Nick Cao1-0/+3
version >= 7.1 Reference: https://lists.openembedded.org/g/openembedded-core/message/197071
2024-06-10texinfo: Format with nixfmtAlexis Hildebrandt1-39/+69
2024-06-10texinfo: refactorAlexis Hildebrandt1-35/+25
2024-06-09Merge remote-tracking branch 'origin/master' into staging-nextAlyssa Ross1-1/+1
Conflicts: pkgs/applications/blockchains/polkadot/default.nix
2024-06-09treewide: Remove the definite article from meta.descriptionAlexis Hildebrandt1-1/+1
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"([Tt]he)? ' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Tt]he (.)/\1\U\2/'
2024-05-27various: Enable updateAutotoolsGnuConfigScriptsHookAudrey Dutcher1-1/+2
Prior to August 2023, any config.guess generated by autoconf will include a hardcoded /usr/bin/uname invocation for FreeBSD on any architecture other than arm. This clearly doesn't work under nix. We must then update or otherwise patch each old config.guess.
2024-05-26texinfo: remove spurious xz buildInputAudrey Dutcher1-2/+2
diffoscope indicates that the builds are the same with and without it.
2024-05-19texinfo: Fix build on native FreeBSDAudrey Dutcher1-2/+3
2024-05-03texinfo: fix issue with libiconv not being passed in by removing top-level ↵Philip Taron1-4/+3
`with lib` statement (#308835)
2023-09-16texinfo: remove reference to buildPlatform awkYureka1-2/+3
2023-04-23Merge #227471: texinfo: apply gnulib patch only to version 6.7Artturi1-1/+1
(cherry picked from commit db3ab32a6982d2afcbbec29cdd99249753d40aea) Fixes build of version 6.5: https://hydra.nixos.org/build/216602149
2023-04-05texinfo: apply gnulib.passthru.longdouble-redirect-patchAdam Joseph1-0/+9
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2023-02-12texinfo: Add version 7.0.2Alexis Hildebrandt1-2/+7
2023-01-21treewide: switch to nativeCheckInputsGuillaume Girol1-1/+1
checkInputs used to be added to nativeBuildInputs. Now we have nativeCheckInputs to do that instead. Doing this treewide change allows to keep hashes identical to before the introduction of nativeCheckInputs.
2022-10-06pkgsMusl.texinfoInteractive: fix build (#193919)Yureka1-1/+1
2022-06-20texinfo: fix build references when cross-compilingBen Wolsieffer1-2/+11
The XS modules were being built for the build platform, and the perl scripts had build platform shebangs. It is possible to build the XS modules by passing PERL_EXT_CC=${stdenv.cc.targetPrefix}cc and --enable-perl-xs=yes, but they fail to load due to a handshake key mismatch. Instead, I just decided to disable the XS modules and use the pure Perl fallbacks when cross-compiling. The shebangs were fixed manually using substituteInPlace.
2022-05-25treewide: add enableParallelBuilding's to bootstrap packages so hashes stay ↵Artturin1-0/+2
the same when enableParallelBuildingByDefault is enabled verified with `nix-diff $(nix eval ".#gcc-unwrapped.drvPath") $(nix eval --expr 'with import ./. { config = { enableParallelBuildingByDefault = true; }; }; gcc-unwrapped.drvPath' --impure)`
2022-05-22texinfo: enable strictDeps and use libintl instead of gettext optionalArtturin1-3/+3
libintl is null on linux and gettext on darwin
2022-02-27texinfo: review fixesMaximilian Bosch1-1/+1
2022-02-27texinfo: fix build w/glibc-2.34Maximilian Bosch1-2/+2
2022-01-31texinfo: rename name to pname&version (#157454)Felix Bühler1-1/+1
2021-09-20texinfo: 6.7 -> 6.8Sergei Trofimovich1-0/+6
2021-01-23pkgs/development/tools: stdenv.lib -> libBen Siraphob1-3/+3
2020-10-06texinfo: Depend on gettext on DarwinChristian Kampka1-1/+2
texinfo version 6.7 requires libintl.h which on Linux is provided by the libc. On Darwin, this lib is provided by gettext instead.
2020-08-22texinfo: patch cross-build in non-interactive build modeChristian Kampka1-1/+1
2020-08-22texinfo. 6.5 -> 6.7Christian Kampka1-2/+1
2020-07-31treewide: add warning comment to “boot” packagesMatthew Bauer1-0/+5
This adds a warning to the top of each “boot” package that reads: Note: this package is used for bootstrapping fetchurl, and thus cannot use fetchpatch! All mutable patches (generated by GitHub or cgit) that are needed here should be included directly in Nixpkgs as files. This makes it clear to maintainer that they may need to treat this package a little differently than others. Importantly, we can’t use fetchpatch here due to using <nix/fetchurl.nix>. To avoid having stale hashes, we need to include patches that are subject to changing overtime (for instance, gitweb’s patches contain a version number at the bottom).
2020-04-10treewide: Per RFC45, remove all unquoted URLsMichael Reilly1-1/+1
2019-12-31Merge branch 'staging' into staging-nextJan Tojnar1-4/+2
2019-12-31stdenv: installTargets is a listRobin Gloster1-4/+2
2019-12-30texinfoInteractive: fix cross buildAndrew Childs1-1/+11
2019-08-28treewide: remove redundant recvolth1-1/+1
2018-12-02Treewide: use HTTPS on GNU domainsc0bw3b1-1/+1
HTTP -> HTTPS for : - http://gnu.org/ - http://www.gnu.org/ - http://elpa.gnu.org/ - http://lists.gnu.org/ - http://gcc.gnu.org/ - http://ftp.gnu.org/ (except in fetchurl mirrors) - http://bugs.gnu.org/
2018-09-23texinfo: cleanup with a mass rebuildJan Malakhovski1-2/+1
2018-09-05texinfo: fix perl issues by applying patches from upstreamJan Malakhovski1-0/+3
2018-08-11texinfo: use checkInputsJan Malakhovski1-1/+3
2018-04-25texinfo: merge expressions for 5.2 and 6.5Jan Malakhovski1-0/+64
Also add me as a maintainer.