summary refs log tree commit diff
path: root/pkgs/os-specific/linux/google-authenticator
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2017-09-05 17:26:13 -0400
committerJohn Ericson <John.Ericson@Obsidian.Systems>2017-09-21 15:49:53 -0400
commit531e4b80c97002a542beb8fe356177ebd66cdd8e (patch)
tree4fb5b90d44ecb5a7b15fdc7d6e10bda66f4542f0 /pkgs/os-specific/linux/google-authenticator
parentfd9c7eb2e8c1755b606cb0d7dab2ba0bb93e36ed (diff)
downloadnixpkgs-531e4b80c97002a542beb8fe356177ebd66cdd8e.tar
nixpkgs-531e4b80c97002a542beb8fe356177ebd66cdd8e.tar.gz
nixpkgs-531e4b80c97002a542beb8fe356177ebd66cdd8e.tar.bz2
nixpkgs-531e4b80c97002a542beb8fe356177ebd66cdd8e.tar.lz
nixpkgs-531e4b80c97002a542beb8fe356177ebd66cdd8e.tar.xz
nixpkgs-531e4b80c97002a542beb8fe356177ebd66cdd8e.tar.zst
nixpkgs-531e4b80c97002a542beb8fe356177ebd66cdd8e.zip
misc pkgs: Basic sed to get fix `pkgconfig` and `autoreconfHook` `buildInputs`
Only acts on one-line dependency lists.
Diffstat (limited to 'pkgs/os-specific/linux/google-authenticator')
-rw-r--r--pkgs/os-specific/linux/google-authenticator/default.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/os-specific/linux/google-authenticator/default.nix b/pkgs/os-specific/linux/google-authenticator/default.nix
index 119621d9278..1494d9f06a8 100644
--- a/pkgs/os-specific/linux/google-authenticator/default.nix
+++ b/pkgs/os-specific/linux/google-authenticator/default.nix
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
     sha256 = "0wb95z5v1w4sk0p7y9pbn4v95w9hrbf80vw9k2z2sgs0156ljkb7";
   };
 
-  buildInputs = [ autoreconfHook pam ];
+  nativeBuildInputs = [ autoreconfHook ];
+  buildInputs = [ pam ];
 
   preConfigure = ''
     sed -i "s|libqrencode.so.3|${qrencode}/lib/libqrencode.so.3|" src/google-authenticator.c