summary refs log tree commit diff
path: root/pkgs/os-specific/linux/lxcfs
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@higgsboson.tk>2017-03-01 22:02:53 +0000
committerJörg Thalheim <joerg@higgsboson.tk>2017-03-06 22:54:28 +0000
commit94497a0ef31dfe9506e1249dc171f9da955d78c7 (patch)
tree410ce8d46038ef07dc0a83a71682e4954945f34f /pkgs/os-specific/linux/lxcfs
parent747b62f909c16f951b7b94624f6494ab861d67ef (diff)
downloadnixpkgs-94497a0ef31dfe9506e1249dc171f9da955d78c7.tar
nixpkgs-94497a0ef31dfe9506e1249dc171f9da955d78c7.tar.gz
nixpkgs-94497a0ef31dfe9506e1249dc171f9da955d78c7.tar.bz2
nixpkgs-94497a0ef31dfe9506e1249dc171f9da955d78c7.tar.lz
nixpkgs-94497a0ef31dfe9506e1249dc171f9da955d78c7.tar.xz
nixpkgs-94497a0ef31dfe9506e1249dc171f9da955d78c7.tar.zst
nixpkgs-94497a0ef31dfe9506e1249dc171f9da955d78c7.zip
lxcfs: 2.0.4 -> unstable-2017-03-02
Diffstat (limited to 'pkgs/os-specific/linux/lxcfs')
-rw-r--r--pkgs/os-specific/linux/lxcfs/default.nix17
1 files changed, 10 insertions, 7 deletions
diff --git a/pkgs/os-specific/linux/lxcfs/default.nix b/pkgs/os-specific/linux/lxcfs/default.nix
index ceaed205db9..2555ce5c6c3 100644
--- a/pkgs/os-specific/linux/lxcfs/default.nix
+++ b/pkgs/os-specific/linux/lxcfs/default.nix
@@ -1,16 +1,19 @@
-{ stdenv, fetchurl, pkgconfig, help2man, fuse, pam }:
+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, help2man, fuse, pam }:
 
 with stdenv.lib;
 stdenv.mkDerivation rec {
-  name = "lxcfs-${version}";
-  version = "2.0.4";
+  # use unstable because it fixed some serious crashes,
+  # stable should be reconsidered in future
+  name = "lxcfs-unstable-2017-03-02";
 
-  src = fetchurl {
-    url = "https://linuxcontainers.org/downloads/lxcfs/lxcfs-${version}.tar.gz";
-    sha256 = "0pfrsn7hqccpcnwg4xk8ds0avb2yc9gyvj7bk2bl90vpwsm35j7y";
+  src = fetchFromGitHub {
+    owner = "lxc";
+    repo = "lxcfs";
+    sha256 = "1say5bf6gknzs0aymvrg2xiypc311gcdcfdmvb2vnz058pmianq9";
+    rev = "4a6707e130b4b65a33606ebc18a95ec471f4bf40";
   };
 
-  nativeBuildInputs = [ pkgconfig help2man ];
+  nativeBuildInputs = [ pkgconfig help2man autoreconfHook ];
   buildInputs = [ fuse pam ];
 
   configureFlags = [