git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #37934 from dtzWill/fix/slim-musl

slim: musl patch

commitcfd79b4d8a525fe875d77bc7dfd2267000a634b0 authorWill Dietz <github@wdtz.org> dateTue 27 Mar 2018, 15:40 (9 years ago) parent0b53d635ed0ae6
1 file changed+5−2
pkgs/applications/display-managers/slim/default.nix+5−2
pkgs/applications/display-managers/slim/default.nix+5−2
@@ -1,4 +1,4 @@
1−{ stdenv, fetchurl, cmake, pkgconfig, xorg, libjpeg, libpng
1+{ stdenv, fetchurl, fetchpatch, cmake, pkgconfig, xorg, libjpeg, libpng
22, fontconfig, freetype, pam, dbus_libs, makeWrapper }:
33
44stdenv.mkDerivation rec {
@@ -26,7 +26,10 @@ stdenv.mkDerivation rec {
2626 # Allow to set logfile to a special "/dev/stderr" in order to continue
2727 # logging to stderr and thus to the journal.
2828 ./no-logfile.patch
29− ];
29+ ] ++ stdenv.lib.optional stdenv.hostPlatform.isMusl (fetchpatch {
30+ url = "https://raw.githubusercontent.com/gentoo/musl/8eddda8072add075ebf56cf6d288bc1450d6b5f8/x11-misc/slim/files/slim-1.3.6-add-missing-libgen_h.patch";
31+ sha256 = "0f82672s2r2cmdqfn2mbg3di76mbla9n0ik20p2gv4igi6p866xm";
32+ });
3033
3134 preConfigure = "substituteInPlace CMakeLists.txt --replace /lib $out/lib";
3235