tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
lxcfs: 2.0.7 -> 2.0.8, add debugBuild option
Richard Marko
8 years ago
c75c99f4
4e26054f
+8
-3
1 changed file
expand all
collapse all
unified
split
pkgs
os-specific
linux
lxcfs
default.nix
+8
-3
pkgs/os-specific/linux/lxcfs/default.nix
···
1
1
-
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, help2man, fuse, pam }:
1
1
+
{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, help2man, fuse, pam,
2
2
+
debugBuild ? false }:
2
3
3
4
with stdenv.lib;
4
5
stdenv.mkDerivation rec {
5
5
-
name = "lxcfs-2.0.7";
6
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
11
-
sha256 = "1z6d52dc12rcplgc9jdgi3lbxm6ahlsjgs1k8v8kvn261xsq1m0a";
12
12
+
sha256 = "04dzn6snqgw0znf7a7qdm64400jirip6q8amcx5fmz4705qdqahc";
12
13
};
13
14
14
15
nativeBuildInputs = [ pkgconfig help2man autoreconfHook ];
15
16
buildInputs = [ fuse pam ];
17
17
+
18
18
+
preConfigure = stdenv.lib.optionalString debugBuild ''
19
19
+
sed -i 's,#AM_CFLAGS += -DDEBUG,AM_CFLAGS += -DDEBUG,' Makefile.am
20
20
+
'';
16
21
17
22
configureFlags = [
18
23
"--with-init-script=systemd"