Skip to content

Commit

Permalink
Merge pull request #330008 from ExpidusOS/fix/pkgsllvm/systemd
Browse files Browse the repository at this point in the history
systemd: fix building with llvm
  • Loading branch information
flokli authored Aug 1, 2024
2 parents 5179c7f + 1a32f3f commit 5d05a0c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/os-specific/linux/systemd/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
, libpwquality
, qrencode
, libarchive
, llvmPackages

# the (optional) BPF feature requires bpftool, libbpf, clang and llvm-strip to
# be available during build time.
Expand Down Expand Up @@ -376,6 +377,9 @@ stdenv.mkDerivation (finalAttrs: {
++ lib.optionals withPasswordQuality [ libpwquality ]
++ lib.optionals withQrencode [ qrencode ]
++ lib.optionals withLibarchive [ libarchive ]
++ lib.optional (withBootloader && stdenv.targetPlatform.useLLVM or false) (llvmPackages.compiler-rt.override {
doFakeLibgcc = true;
})
;

mesonBuildType = "release";
Expand Down

0 comments on commit 5d05a0c

Please sign in to comment.