From 2a21046f246b9c3b1351d116c5193980477bc19e Mon Sep 17 00:00:00 2001 From: "Jason \"Don\" O'Conal" Date: Thu, 4 Jul 2013 19:01:47 +1000 Subject: [PATCH] otool & setFile: only allow on darwin --- pkgs/development/tools/misc/otool/default.nix | 3 +++ pkgs/development/tools/misc/setFile/default.nix | 3 +++ 2 files changed, 6 insertions(+) diff --git a/pkgs/development/tools/misc/otool/default.nix b/pkgs/development/tools/misc/otool/default.nix index aa365fc29d5..21eb2b591c2 100644 --- a/pkgs/development/tools/misc/otool/default.nix +++ b/pkgs/development/tools/misc/otool/default.nix @@ -1,5 +1,8 @@ { stdenv }: +# this tool only exists on darwin +assert stdenv.isDarwin; + stdenv.mkDerivation { name = "otool"; diff --git a/pkgs/development/tools/misc/setFile/default.nix b/pkgs/development/tools/misc/setFile/default.nix index 9f86184634f..e3fbd2cbc6d 100644 --- a/pkgs/development/tools/misc/setFile/default.nix +++ b/pkgs/development/tools/misc/setFile/default.nix @@ -1,5 +1,8 @@ { stdenv }: +# this tool only exists on darwin +assert stdenv.isDarwin; + stdenv.mkDerivation { name = "setFile";