Commit Graph

14 Commits

Author SHA1 Message Date
Alexis Hildebrandt
cbb6959f31 texinfo: 7.2 -> 7.3 2026-07-19 20:45:04 +02:00
K900
d4ae5fca84 texinfo6: drop
Used by exactly one thing which doesn't hard require it, broken on GCC15, yeet it.
2025-12-17 21:09:07 +03:00
Sandro Jäckel
26b4a9ea81 texinfo6_5: drop 2025-06-09 03:23:27 +02:00
Sandro Jäckel
b391ddf579 texinfo6_7: drop 2025-06-09 03:21:00 +02:00
Petr Zahradnik
a4ad6a2686 texinfo4: drop 2025-06-08 14:42:36 +02:00
Wolfgang Walther
eb4231f3f0 texinfo7: 7.1.1 -> 7.2 (#368000) 2025-04-21 14:54:57 +00:00
Peder Bergebakken Sundt
5aba99242e treewide: fix typos in comments
Made with

```shell
git restore .
fd '\.nix$' pkgs/ --type f -j1 -x bash -xc "$(cat <<"EOF"
    typos --no-check-filenames --write-changes "$1"
    git diff --exit-code "$1" && exit
    #( git diff "$1" | grep -qE "^\+ +[^# ]") && git restore "$1"
    count1="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> ' | wc -l )"
    count2="$( bat --language nix --diff --style changes "$1" --theme "Monokai Extended" --color always | aha --no-header | grep -E '^<span style="color:olive;">~</span> (<span style="color:#f8f8f2;"> *</span>)?<span style="color:#75715e;">.*</span>$' | wc -l )"
    [[ $count1 -ne $count2 ]] && git restore "$1"
EOF
)" -- {}
```

and filtered with `GIT_DIFF_OPTS='--unified=15' git -c interactive.singleKey=true add --patch`

I initially tried using the tree-sitter cli, python bindings and even ast-grep through various means, but this is what I ended up with.
2025-02-24 10:44:41 +01:00
Silvan Mosberger
e3491c9e40 bash: Make interactive the default
The status quo of `bash` not being interactive is frustrating for many users,
because trying to use it interactively is just messed up, and
`bashInteractive` is not intuitive and barely discoverable.

This was brought to my (and many others) attention by @stahnma in his
[talk at CfgMgmtCamp 2025](https://cfp.cfgmgmtcamp.org/ghent2025/talk/YUVUTN/),
where he highlighted this as one of the frustrations he ran into when
learning Nix.

Why this is fine:
- No reason for not making interactive the default was given in the original commit (6c6ff6f36f), but probably it was due to the increase in closure size
- The closure size only increases by 6.9MiB (19.5%) today, with the
  added dependency on the store paths for readline and ncurses, which
  are needed on systems in almost all cases anyways
- If somebody really needs to get a more minimal system, they can use
  the newly-introduced `bashNonInteractive` instead now
- Though to apply it consistently, they'll need to do that in an
  overlay like
  ```
  final: prev: {
    bash = self.bashNonInteractive;
  }
  ```

  Or alternatively using the `system.replaceDependencies.replacements`
  NixOS option approach.

While there's also other such `*Interactive` packages that could use the
same treatment, `bash` is a great start.

This was already attempted before in
https://github.com/NixOS/nixpkgs/pull/151227, but was not continued for
unknown reason.

To avoid stdenv becoming bigger, all uses of bash in the (working)
stdenv's are changed to the explicitly non-interactive version here.

This commit will however still cause a mass rebuild for all packages (and reverse deps)
making use of the default bash.
2025-02-05 00:31:46 +01:00
Alexis Hildebrandt
7cd6e30023 texinfo7: 7.1.1 -> 7.2 2024-12-24 22:14:39 +01:00
Alexis Hildebrandt
9bd50dacb4 texinfo7: 7.1 -> 7.1.1 2024-09-16 08:26:26 +02:00
Sergei Trofimovich
dd7248133e texinfo5: remove package, old version
The only user was `gcc48`. Drop `texinfo5` as it's an old unsupported
branch of the package.
2024-09-11 21:44:39 +01:00
Alexis Hildebrandt
3ddf4322fa texinfo: Format with nixfmt 2024-06-10 17:02:11 +02:00
Alexis Hildebrandt
e6f90729d2 texinfo: 7.0.3 -> 7.1 2024-06-10 17:02:11 +02:00
Alexis Hildebrandt
0626ef8124 texinfo: refactor 2024-06-10 17:02:06 +02:00