diff options
author | Luke Clifton <luke-clifton@users.noreply.github.com> | 2018-09-22 22:07:34 +0800 |
---|---|---|
committer | Joachim F <joachifm@users.noreply.github.com> | 2018-09-22 14:07:34 +0000 |
commit | 3d8f6b61885bce149e2b2482ae3710f0ca48adca (patch) | |
tree | 2d80a435144fd0e6ab004af3a6b4d22b8c5b50a1 /pkgs/tools/misc | |
parent | 62366489cd487447db2b9b720f18f65bc6924823 (diff) | |
download | nixlib-3d8f6b61885bce149e2b2482ae3710f0ca48adca.tar nixlib-3d8f6b61885bce149e2b2482ae3710f0ca48adca.tar.gz nixlib-3d8f6b61885bce149e2b2482ae3710f0ca48adca.tar.bz2 nixlib-3d8f6b61885bce149e2b2482ae3710f0ca48adca.tar.lz nixlib-3d8f6b61885bce149e2b2482ae3710f0ca48adca.tar.xz nixlib-3d8f6b61885bce149e2b2482ae3710f0ca48adca.tar.zst nixlib-3d8f6b61885bce149e2b2482ae3710f0ca48adca.zip |
abduco: refactor (compile on darwin) (#47124)
Diffstat (limited to 'pkgs/tools/misc')
-rw-r--r-- | pkgs/tools/misc/abduco/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/misc/abduco/default.nix b/pkgs/tools/misc/abduco/default.nix index cdfb57fc5f0e..4fc254b76b40 100644 --- a/pkgs/tools/misc/abduco/default.nix +++ b/pkgs/tools/misc/abduco/default.nix @@ -10,9 +10,11 @@ stdenv.mkDerivation rec { license = licenses.isc; description = "Allows programs to be run independently from its controlling terminal"; maintainers = with maintainers; [ pSub ]; - platforms = platforms.linux; + platforms = platforms.unix; }; + CFLAGS = stdenv.lib.optionalString stdenv.isDarwin "-D_DARWIN_C_SOURCE"; + src = fetchurl { url = "http://www.brain-dump.org/projects/abduco/${name}.tar.gz"; sha256 = "1x1m58ckwsprljgmdy93mvgjyg9x3cqrzdf3mysp0mx97zhhj2f9"; |