mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-21 19:44:09 +00:00
lxcfs: do not inherit enableDebugBuild from global namespace
This commit is contained in:
parent
c75c99f42e
commit
84f40186b2
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, help2man, fuse, pam,
|
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, help2man, fuse, pam
|
||||||
debugBuild ? false }:
|
, enableDebugBuild ? false }:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -15,7 +15,7 @@ stdenv.mkDerivation rec {
|
|||||||
nativeBuildInputs = [ pkgconfig help2man autoreconfHook ];
|
nativeBuildInputs = [ pkgconfig help2man autoreconfHook ];
|
||||||
buildInputs = [ fuse pam ];
|
buildInputs = [ fuse pam ];
|
||||||
|
|
||||||
preConfigure = stdenv.lib.optionalString debugBuild ''
|
preConfigure = stdenv.lib.optionalString enableDebugBuild ''
|
||||||
sed -i 's,#AM_CFLAGS += -DDEBUG,AM_CFLAGS += -DDEBUG,' Makefile.am
|
sed -i 's,#AM_CFLAGS += -DDEBUG,AM_CFLAGS += -DDEBUG,' Makefile.am
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -3204,7 +3204,9 @@ with pkgs;
|
|||||||
ltris = callPackage ../games/ltris { };
|
ltris = callPackage ../games/ltris { };
|
||||||
|
|
||||||
lxc = callPackage ../os-specific/linux/lxc { };
|
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 { };
|
lxd = callPackage ../tools/admin/lxd { };
|
||||||
|
|
||||||
lzfse = callPackage ../tools/compression/lzfse { };
|
lzfse = callPackage ../tools/compression/lzfse { };
|
||||||
|
Loading…
Reference in New Issue
Block a user