darwin.rewrite-tbd: only build on darwin

This commit is contained in:
Lein Matsumaru 2021-11-07 15:36:57 +00:00
parent 8d197bffd8
commit ae4666c415
No known key found for this signature in database
GPG Key ID: AAA50652F0479205

View File

@ -1,4 +1,4 @@
{ stdenv, fetchFromGitHub, cmake, pkg-config, libyaml }:
{ stdenv, lib, fetchFromGitHub, cmake, pkg-config, libyaml }:
stdenv.mkDerivation {
pname = "rewrite-tbd";
@ -13,4 +13,11 @@ stdenv.mkDerivation {
nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ libyaml ];
meta = with lib; {
homepage = "https://github.com/thefloweringash/rewrite-tbd/";
description = "Rewrite filepath in .tbd to Nix applicable format";
platforms = platforms.darwin;
license = licenses.mit;
};
}