summary refs log tree commit diff
diff options
context:
space:
mode:
authorNikolay Korotkiy <sikmir@disroot.org>2022-11-27 21:21:54 +0300
committerNikolay Korotkiy <sikmir@disroot.org>2022-11-27 21:40:02 +0300
commit7cb7cac6a543c25918c2b8272668c353e10aaea0 (patch)
tree78d1889c3f9015e79aba999cddb873d965e80710
parent5da55af045672f25cc78dda097e5ed142e8eeb6f (diff)
downloadnixpkgs-7cb7cac6a543c25918c2b8272668c353e10aaea0.tar
nixpkgs-7cb7cac6a543c25918c2b8272668c353e10aaea0.tar.gz
nixpkgs-7cb7cac6a543c25918c2b8272668c353e10aaea0.tar.bz2
nixpkgs-7cb7cac6a543c25918c2b8272668c353e10aaea0.tar.lz
nixpkgs-7cb7cac6a543c25918c2b8272668c353e10aaea0.tar.xz
nixpkgs-7cb7cac6a543c25918c2b8272668c353e10aaea0.tar.zst
nixpkgs-7cb7cac6a543c25918c2b8272668c353e10aaea0.zip
kamid: fix cross-compilation
-rw-r--r--pkgs/servers/ftp/kamid/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/servers/ftp/kamid/default.nix b/pkgs/servers/ftp/kamid/default.nix
index bd787665acf..625f391dae8 100644
--- a/pkgs/servers/ftp/kamid/default.nix
+++ b/pkgs/servers/ftp/kamid/default.nix
@@ -28,11 +28,13 @@ stdenv.mkDerivation rec {
     libbsd
   ];
 
+  makeFlags = [ "AR:=$(AR)" ];
+
   meta = with lib; {
     description = "A FREE, easy-to-use and portable implementation of a 9p file server daemon for UNIX-like systems";
     homepage = "https://kamid.omarpolo.com";
     license = licenses.isc;
     maintainers = with maintainers; [ heph2 ];
-    platforms = platforms.unix;
+    platforms = platforms.linux;
   };
 }