Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

systemd: set dontCheckForBrokenSymlinks #376218

Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pkgs/os-specific/linux/systemd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -774,6 +774,12 @@ stdenv.mkDerivation (finalAttrs: {

doCheck = false; # fails a bunch of tests

# NOTE: There is a broken (from within the Nix sandbox) symlink installed in the output which points to
# /etc/environment. This is a compatibility shim, so we do not remove it. Instead, we disable the check
# for broken symlinks.
# For more, see https://www.freedesktop.org/software/systemd/man/latest/environment.d.html#Description.
dontCheckForBrokenSymlinks = true;

# trigger the test -n "$DESTDIR" || mutate in upstreams build system
preInstall = ''
export DESTDIR=/
Expand Down