diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2019-02-17 12:07:22 +0100 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2019-02-17 12:07:22 +0100 |
commit | d919ccde6ea225f6c1837425baa47f948e4ff571 (patch) | |
tree | 90b9883f4f5cb8ad8942d14a402e73925f67189a /pkgs/servers/diod | |
parent | b1ac25e7ed3b13fb6ea92f4236d72aa9734385b0 (diff) |
diod: fix build
Diffstat (limited to 'pkgs/servers/diod')
-rw-r--r-- | pkgs/servers/diod/default.nix | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/pkgs/servers/diod/default.nix b/pkgs/servers/diod/default.nix index eba73b2692a2..2199d62b4dd7 100644 --- a/pkgs/servers/diod/default.nix +++ b/pkgs/servers/diod/default.nix @@ -1,4 +1,6 @@ -{ stdenv, fetchurl, munge, lua, libcap, perl, ncurses }: +{ stdenv, fetchurl, munge, lua, + libcap, perl, ncurses +}: stdenv.mkDerivation rec { name = "diod-${version}"; @@ -9,12 +11,16 @@ stdenv.mkDerivation rec { sha256 = "17wckwfsqj61yixz53nwkc35z66arb1x3napahpi64m7q68jn7gl"; }; + postPatch = '' + substituteInPlace diod/xattr.c --replace attr/xattr.h sys/xattr.h + ''; + buildInputs = [ munge lua libcap perl ncurses ]; - meta = { + meta = with stdenv.lib; { description = "An I/O forwarding server that implements a variant of the 9P protocol"; - maintainers = [ stdenv.lib.maintainers.rickynils]; - platforms = stdenv.lib.platforms.linux; - license = stdenv.lib.licenses.gpl2Plus; + maintainers = with maintainers; [ rnhmjoj rickynils ]; + platforms = platforms.linux; + license = licenses.gpl2Plus; }; } |