From 599cd79b99c0e30dce34f37c46bfd0bcb98a53ea Mon Sep 17 00:00:00 2001 From: Giulio De Pasquale Date: Sun, 3 Apr 2022 00:53:03 +0200 Subject: [PATCH] Expose lib64 and lib separately in sysroot --- pkgs/development/compilers/llvm/multi.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/development/compilers/llvm/multi.nix b/pkgs/development/compilers/llvm/multi.nix index 60db622a73ab..ecea5d440378 100644 --- a/pkgs/development/compilers/llvm/multi.nix +++ b/pkgs/development/compilers/llvm/multi.nix @@ -19,9 +19,9 @@ let lib = gcc_multi_sysroot; }; } '' - mkdir -p $out/lib/gcc + mkdir -p $out/lib{,64}/gcc - ln -s ${combine gcc64}/lib/gcc/* $out/lib/gcc/ + ln -s ${combine gcc64}/lib/gcc/* $out/lib64/gcc/ ln -s ${combine gcc32}/lib/gcc/* $out/lib/gcc/ # XXX: This shouldn't be needed, clang just doesn't look for "i686-unknown" ln -s $out/lib/gcc/i686-unknown-linux-gnu $out/lib/gcc/i686-pc-linux-gnu