abduco: refactor (compile on darwin) (#47124)
This commit is contained in:
parent
62366489cd
commit
3d8f6b6188
@ -10,9 +10,11 @@ stdenv.mkDerivation rec {
|
|||||||
license = licenses.isc;
|
license = licenses.isc;
|
||||||
description = "Allows programs to be run independently from its controlling terminal";
|
description = "Allows programs to be run independently from its controlling terminal";
|
||||||
maintainers = with maintainers; [ pSub ];
|
maintainers = with maintainers; [ pSub ];
|
||||||
platforms = platforms.linux;
|
platforms = platforms.unix;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
CFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-D_DARWIN_C_SOURCE";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.brain-dump.org/projects/abduco/${name}.tar.gz";
|
url = "http://www.brain-dump.org/projects/abduco/${name}.tar.gz";
|
||||||
sha256 = "1x1m58ckwsprljgmdy93mvgjyg9x3cqrzdf3mysp0mx97zhhj2f9";
|
sha256 = "1x1m58ckwsprljgmdy93mvgjyg9x3cqrzdf3mysp0mx97zhhj2f9";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user