summary refs log tree commit diff
path: root/pkgs/os-specific/linux/tcp-wrappers
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2017-10-29 16:57:54 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2018-05-03 17:05:42 -0400
commit10fa4a571c0669e44acfedc3bf1917b3ffcfbf61 (patch)
treecef005ecbe10db701cf51b4d557c796e9af3e60b /pkgs/os-specific/linux/tcp-wrappers
parentedd92f9182e63d6f118a1c5136590694fb1793dc (diff)
downloadnixpkgs-10fa4a571c0669e44acfedc3bf1917b3ffcfbf61.tar
nixpkgs-10fa4a571c0669e44acfedc3bf1917b3ffcfbf61.tar.gz
nixpkgs-10fa4a571c0669e44acfedc3bf1917b3ffcfbf61.tar.bz2
nixpkgs-10fa4a571c0669e44acfedc3bf1917b3ffcfbf61.tar.lz
nixpkgs-10fa4a571c0669e44acfedc3bf1917b3ffcfbf61.tar.xz
nixpkgs-10fa4a571c0669e44acfedc3bf1917b3ffcfbf61.tar.zst
nixpkgs-10fa4a571c0669e44acfedc3bf1917b3ffcfbf61.zip
tcp-wrappers: Enable cross-compilation
This package, like so many others, assumes that ar is unprefixed.
Diffstat (limited to 'pkgs/os-specific/linux/tcp-wrappers')
-rw-r--r--pkgs/os-specific/linux/tcp-wrappers/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/tcp-wrappers/default.nix b/pkgs/os-specific/linux/tcp-wrappers/default.nix
index e3aae30babc..5df7bb827aa 100644
--- a/pkgs/os-specific/linux/tcp-wrappers/default.nix
+++ b/pkgs/os-specific/linux/tcp-wrappers/default.nix
@@ -35,7 +35,7 @@ in stdenv.mkDerivation rec {
 
   buildInputs = [ libnsl ];
 
-  makeFlags = [ "REAL_DAEMON_DIR=$(out)/bin" "linux" ];
+  makeFlags = [ "REAL_DAEMON_DIR=$(out)/bin" "linux" "AR:=$(AR)" ];
 
   installPhase = ''
     mkdir -p "$out/bin"