Debian Patches

Status for nix/2.18.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-Fix-build-phase-depending-on-installed-binary.patch Fix build phase depending on installed binary Thomas Koch <thomas@koch.ro> yes upstream 2023-07-16
0005-lowdown-debian-package-does-not-declare-dependency-o.patch lowdown debian package does not declare dependency on libbsd Thomas Koch <thomas@koch.ro> not-needed upstream 2023-07-16
0006-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
0007-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
0008-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
0009-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
0010-libexpr-Add-various-files-to-clean-files.patch libexpr: Add various files to clean-files Jordan Justen <jljusten@debian.org> no 2023-10-09
0011-manual-Add-various-files-to-clean-files.patch manual: Add various files to clean-files Jordan Justen <jljusten@debian.org> no 2023-10-11
0012-nix-Add-various-files-to-clean-files.patch nix: Add various files to clean-files Jordan Justen <jljusten@debian.org> no 2023-10-11

All known versions for source package 'nix'

Links