From 94497a0ef31dfe9506e1249dc171f9da955d78c7 Mon Sep 17 00:00:00 2001 From: Jörg Thalheim Date: Wed, 1 Mar 2017 22:02:53 +0000 Subject: lxcfs: 2.0.4 -> unstable-2017-03-02 --- pkgs/os-specific/linux/lxcfs/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'pkgs/os-specific/linux/lxcfs') diff --git a/pkgs/os-specific/linux/lxcfs/default.nix b/pkgs/os-specific/linux/lxcfs/default.nix index ceaed205db96a..2555ce5c6c319 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 = [ -- cgit 1.4.1