Debian Patches

Status for nix/2.22.1+dfsg-1

Patch Description Author Forwarded Bugs Origin Last update
0001-fix-service-file-path.patch fix-service-file-path
Install systemd units into /lib instead of /usr/lib
Thomas Koch <thomas@koch.ro> no 2023-07-16
0002-Append-CPPFLAGS-to-GLOBAL_-FLAGS-copy-LDFLAGS-into-G.patch Append CPPFLAGS to GLOBAL_*FLAGS, copy LDFLAGS into GLOBAL_LDFLAGS
I (thk@) am not sure what this patch is needed for. I guess so that Debian
specific build options are respected?
Kai Harries <kai.harries@gmail.com> no 2023-07-16
0003-disable-use-of-mdbook.patch disable use of mdbook Thomas Koch <thomas@koch.ro> not-needed debian 2023-07-16
0004-libexpr-Don-t-use-bundled-toml11.patch libexpr: Don't use bundled toml11
Instead use toml11 from distro.
Jordan Justen <jljusten@debian.org> not-needed upstream 2023-07-19
0005-configure.ac-Change-sandbox_shell-test-to-not-be-zsh.patch configure.ac: Change sandbox_shell test to not be zsh specific
The ${VAR+SUBST} seems to be specific to zsh. Adding a colon (:),
${VAR:+SUBST} would make it posix shell compatible.

But, since this test just wants to see if sandbox_shell is set, we can
use `test -n` which tests to see if the string has a non-zero length.
Jordan Justen <jljusten@gmail.com> no 2023-08-22
0006-configure.ac-Only-check-FEATURE_SH_STANDALONE-if-usi.patch configure.ac: Only check FEATURE_SH_STANDALONE if using busybox
For example, running bash instead of busybox produces:

$ PATH= /bin/bash -c busybox 2>&1
/bin/bash: line 1: busybox: No such file or directory

Thus, the grep for "not found" fails, and configure mistakenly thinks
that bash is busybox with the FEATURE_SH_STANDALONE set.
Jordan Justen <jljusten@gmail.com> no 2023-08-22
0007-libexpr-Add-various-files-to-clean-files.patch libexpr: Add various files to clean-files Jordan Justen <jljusten@debian.org> no 2023-10-09
0008-manual-Add-various-files-to-clean-files.patch manual: Add various files to clean-files Jordan Justen <jljusten@debian.org> no 2023-10-11
0009-nix-Add-various-files-to-clean-files.patch nix: Add various files to clean-files Jordan Justen <jljusten@debian.org> no 2023-10-11
0010-Revert-Simplify-RapidCheck-configure.patch Revert "Simplify RapidCheck configure"
We need to revert this for debian until the rapidcheck package version
is upgraded to upstream ff6af6fc683159deb51c543b065eba14dfcf329b or
newer so package config files will be available.


This reverts commit 9b9ecdee3424056cb854bc8f1aa49fe330c08c83.
Jordan Justen <jljusten@debian.org> no 2024-05-27
0011-configure.ac-Skip-I-for-RAPIDCHECK_HEADERS-when-not-.patch configure.ac: Skip -I for RAPIDCHECK_HEADERS when not set
I was seeing build output which looked like:

g++ -o src/libcmd/repl.o -c src/libcmd/repl.cc <snip> -I src -I -DREADLINE <snip>
src/libcmd/repl.cc:18:10: fatal error: editline.h: No such file or directory
18 | #include <editline.h>
| ^~~~~~~~~~~~
compilation terminated.

Notice the second -I is not followed by a path. I think this caused
the -DREADLINE to be interpreted as the path, and therefore the
READLINE macro wasn't defined. This lead to the incorrect
pre-processing of src/libcmd/repl.cc.

I did not test the case where the RAPIDCHECK_HEADERS variable was set.
Jordan Justen <jljusten@gmail.com> yes 2023-07-29

All known versions for source package 'nix'

Links