From 69e24c044aba1c0a3dc4e70d0f988ec1f3e6fb73 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sun, 30 Jul 2017 01:33:26 +0300 Subject: [PATCH] kbd: fix build --- pkgs/os-specific/linux/kbd/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/os-specific/linux/kbd/default.nix b/pkgs/os-specific/linux/kbd/default.nix index 31fcdae6c809..b97f48af414a 100644 --- a/pkgs/os-specific/linux/kbd/default.nix +++ b/pkgs/os-specific/linux/kbd/default.nix @@ -38,8 +38,10 @@ stdenv.mkDerivation rec { ''; postInstall = '' - substituteInPlace $out/bin/unicode_{start,stop} \ - --replace /usr/bin/tty ${coreutils}/bin/tty + for i in $out/bin/unicode_{start,stop}; do + substituteInPlace "$i" \ + --replace /usr/bin/tty ${coreutils}/bin/tty + done '';