From ae4666c41591b40315ff19f41c4d27a349dc4153 Mon Sep 17 00:00:00 2001 From: Lein Matsumaru Date: Sun, 7 Nov 2021 15:36:57 +0000 Subject: [PATCH] darwin.rewrite-tbd: only build on darwin --- pkgs/os-specific/darwin/rewrite-tbd/default.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkgs/os-specific/darwin/rewrite-tbd/default.nix b/pkgs/os-specific/darwin/rewrite-tbd/default.nix index f41b81b3bc90..e5ef118e514c 100644 --- a/pkgs/os-specific/darwin/rewrite-tbd/default.nix +++ b/pkgs/os-specific/darwin/rewrite-tbd/default.nix @@ -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; + }; }