about summary refs log tree commit diff
path: root/pkgs/tools/misc/entr
diff options
context:
space:
mode:
authorSimon Žlender <pub.git@zlender.si>2023-09-16 23:44:41 +0200
committerSimon Žlender <pub.git@zlender.si>2023-09-17 09:35:39 +0200
commit8bff4b7e405836f7451e3b4792a2728a22ef2803 (patch)
treec237c0554ed5f19e662c56e6492fc3f852b78ded /pkgs/tools/misc/entr
parent32658f902e016215d34c65ad5fb3a3fa7b588518 (diff)
downloadnixlib-8bff4b7e405836f7451e3b4792a2728a22ef2803.tar
nixlib-8bff4b7e405836f7451e3b4792a2728a22ef2803.tar.gz
nixlib-8bff4b7e405836f7451e3b4792a2728a22ef2803.tar.bz2
nixlib-8bff4b7e405836f7451e3b4792a2728a22ef2803.tar.lz
nixlib-8bff4b7e405836f7451e3b4792a2728a22ef2803.tar.xz
nixlib-8bff4b7e405836f7451e3b4792a2728a22ef2803.tar.zst
nixlib-8bff4b7e405836f7451e3b4792a2728a22ef2803.zip
entr: fix cross compilation
Diffstat (limited to 'pkgs/tools/misc/entr')
-rw-r--r--pkgs/tools/misc/entr/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/tools/misc/entr/default.nix b/pkgs/tools/misc/entr/default.nix
index a44a30a6dd7a..b46b94037083 100644
--- a/pkgs/tools/misc/entr/default.nix
+++ b/pkgs/tools/misc/entr/default.nix
@@ -18,6 +18,8 @@ stdenv.mkDerivation rec {
   checkTarget = "test";
   installFlags = [ "PREFIX=$(out)" ];
 
+  TARGET_OS = stdenv.hostPlatform.uname.system;
+
   meta = with lib; {
     homepage = "https://eradman.com/entrproject/";
     description = "Run arbitrary commands when files change";