lxcfs: 2.0.7 -> 2.0.8, add debugBuild option

+8 -3
+8 -3
pkgs/os-specific/linux/lxcfs/default.nix
··· 1 - { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, help2man, fuse, pam }: 1 + { stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, help2man, fuse, pam, 2 + debugBuild ? false }: 2 3 3 4 with stdenv.lib; 4 5 stdenv.mkDerivation rec { 5 - name = "lxcfs-2.0.7"; 6 + name = "lxcfs-2.0.8"; 6 7 7 8 src = fetchFromGitHub { 8 9 owner = "lxc"; 9 10 repo = "lxcfs"; 10 11 rev = name; 11 - sha256 = "1z6d52dc12rcplgc9jdgi3lbxm6ahlsjgs1k8v8kvn261xsq1m0a"; 12 + sha256 = "04dzn6snqgw0znf7a7qdm64400jirip6q8amcx5fmz4705qdqahc"; 12 13 }; 13 14 14 15 nativeBuildInputs = [ pkgconfig help2man autoreconfHook ]; 15 16 buildInputs = [ fuse pam ]; 17 + 18 + preConfigure = stdenv.lib.optionalString debugBuild '' 19 + sed -i 's,#AM_CFLAGS += -DDEBUG,AM_CFLAGS += -DDEBUG,' Makefile.am 20 + ''; 16 21 17 22 configureFlags = [ 18 23 "--with-init-script=systemd"