lxcfs: do not inherit enableDebugBuild from global namespace

Changed files
+6 -4
pkgs
os-specific
linux
lxcfs
top-level
+3 -3
pkgs/os-specific/linux/lxcfs/default.nix
···
-
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, help2man, fuse, pam,
-
debugBuild ? false }:
+
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, help2man, fuse, pam
+
, enableDebugBuild ? false }:
with stdenv.lib;
stdenv.mkDerivation rec {
···
nativeBuildInputs = [ pkgconfig help2man autoreconfHook ];
buildInputs = [ fuse pam ];
-
preConfigure = stdenv.lib.optionalString debugBuild ''
+
preConfigure = stdenv.lib.optionalString enableDebugBuild ''
sed -i 's,#AM_CFLAGS += -DDEBUG,AM_CFLAGS += -DDEBUG,' Makefile.am
'';
+3 -1
pkgs/top-level/all-packages.nix
···
ltris = callPackage ../games/ltris { };
lxc = callPackage ../os-specific/linux/lxc { };
-
lxcfs = callPackage ../os-specific/linux/lxcfs { };
+
lxcfs = callPackage ../os-specific/linux/lxcfs {
+
enableDebugBuild = config.lxcfs.enableDebugBuild or false;
+
};
lxd = callPackage ../tools/admin/lxd { };
lzfse = callPackage ../tools/compression/lzfse { };