Merge pull request #173368 from trofi/fix-fno-common-for-light

light: pull upstream fix for -fno-common toolchains

authored by Artturi and committed by GitHub 49829a9a 3a20161a

+11 -1
+11 -1
pkgs/os-specific/linux/light/default.nix
··· 1 - { lib, stdenv, fetchFromGitHub, autoreconfHook, coreutils }: 1 + { lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, coreutils }: 2 2 3 3 stdenv.mkDerivation rec { 4 4 version = "1.2.2"; ··· 9 9 rev = "v${version}"; 10 10 sha256 = "1a70zcf88ifsnwll486aicjnh48zisdf8f7vi34ihw61kdadsq9s"; 11 11 }; 12 + 13 + patches = [ 14 + # Pull upstream fix for -fno-common toolchains: 15 + # https://github.com/haikarainen/light/pull/135 16 + (fetchpatch { 17 + name = "fno-common.patch"; 18 + url = "https://github.com/haikarainen/light/commit/eae912ca7ff3356805e47739114861d2b6ae7ec0.patch"; 19 + sha256 = "15jp8hm5scl0myiy1jmvd6m52lhx5jscvi3rgb5siwakmnkgzx9j"; 20 + }) 21 + ]; 12 22 13 23 configureFlags = [ "--with-udev" ]; 14 24