diff options
author | Ben Siraphob <bensiraphob@gmail.com> | 2021-03-04 14:14:02 +0700 |
---|---|---|
committer | Ben Siraphob <bensiraphob@gmail.com> | 2021-03-06 21:00:48 +0700 |
commit | 23b9febef2919f481cae03bf4e631d0177e791d7 (patch) | |
tree | 658d152912d1645525542f619212dd981cee82c3 | |
parent | a3bea2debd0dd5c111e087115023ce6034151cde (diff) | |
download | nixpkgs-23b9febef2919f481cae03bf4e631d0177e791d7.tar nixpkgs-23b9febef2919f481cae03bf4e631d0177e791d7.tar.gz nixpkgs-23b9febef2919f481cae03bf4e631d0177e791d7.tar.bz2 nixpkgs-23b9febef2919f481cae03bf4e631d0177e791d7.tar.lz nixpkgs-23b9febef2919f481cae03bf4e631d0177e791d7.tar.xz nixpkgs-23b9febef2919f481cae03bf4e631d0177e791d7.tar.zst nixpkgs-23b9febef2919f481cae03bf4e631d0177e791d7.zip |
dadadodo: fix darwin build
-rw-r--r-- | pkgs/tools/text/dadadodo/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/text/dadadodo/default.nix b/pkgs/tools/text/dadadodo/default.nix index 85e57546d93..a70a7efda72 100644 --- a/pkgs/tools/text/dadadodo/default.nix +++ b/pkgs/tools/text/dadadodo/default.nix @@ -9,6 +9,8 @@ stdenv.mkDerivation rec { sha256 = "1pzwp3mim58afjrc92yx65mmgr1c834s1v6z4f4gyihwjn8bn3if"; }; + makeFlags = [ "CC=${stdenv.cc.targetPrefix}cc" ]; + installPhase = '' mkdir -p $out/bin cp dadadodo $out/bin @@ -20,6 +22,6 @@ stdenv.mkDerivation rec { description = "Markov chain-based text generator"; homepage = "http://www.jwz.org/dadadodo"; maintainers = with maintainers; [ pSub ]; - platforms = with platforms; linux; + platforms = platforms.all; }; } |