about summary refs log tree commit diff
path: root/pkgs/os-specific/linux
diff options
context:
space:
mode:
authorNathan Zadoks <nathan@nathan7.eu>2016-03-03 14:45:11 +0100
committerNathan Zadoks <nathan@nathan7.eu>2016-03-03 14:46:44 +0100
commitbf18a34f9738b61e380f4071e41f59825b8f7028 (patch)
treec0079c7370b30309beaf8da8d1bebf046cdc6441 /pkgs/os-specific/linux
parent397a0db028116a17036ff78f7b4aa8f020f42405 (diff)
musl: pass the correct syslibdir
This fixes dynamic linking (the specfile contains the correct path, and
the dynamic loader is symlinked in place)
Fixes #8543
Diffstat (limited to 'pkgs/os-specific/linux')
-rw-r--r--pkgs/os-specific/linux/musl/default.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/musl/default.nix b/pkgs/os-specific/linux/musl/default.nix
index abe96e9b9ae69..a8055df92fdec 100644
--- a/pkgs/os-specific/linux/musl/default.nix
+++ b/pkgs/os-specific/linux/musl/default.nix
@@ -11,6 +11,10 @@ stdenv.mkDerivation rec {
 
   enableParallelBuilding = true;
 
+  preConfigure = ''
+    configureFlagsArray+=("--syslibdir=$out/lib")
+  '';
+
   configureFlags = [
     "--enable-shared"
     "--enable-static"