mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
diod: fix build
This commit is contained in:
parent
b1ac25e7ed
commit
d919ccde6e
@ -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;
|
||||
};
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user