From 7868cb8ad4196df59879c1c9b98ac17e41d07782 Mon Sep 17 00:00:00 2001 From: taku0 Date: Fri, 19 May 2017 22:27:33 +0900 Subject: [PATCH] common-updater-script: fix error handling diffutils is required for cmp command --- pkgs/common-updater/scripts.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkgs/common-updater/scripts.nix b/pkgs/common-updater/scripts.nix index cb7f23f7480a..b260c67ca7c6 100644 --- a/pkgs/common-updater/scripts.nix +++ b/pkgs/common-updater/scripts.nix @@ -1,4 +1,4 @@ -{ stdenv, makeWrapper, coreutils, gawk, gnused, nix }: +{ stdenv, makeWrapper, coreutils, gawk, gnused, diffutils, nix }: stdenv.mkDerivation { name = "common-updater-scripts"; @@ -12,7 +12,7 @@ stdenv.mkDerivation { cp ${./scripts}/* $out/bin for f in $out/bin/*; do - wrapProgram $f --prefix PATH : ${stdenv.lib.makeBinPath [ coreutils gawk gnused nix ]} + wrapProgram $f --prefix PATH : ${stdenv.lib.makeBinPath [ coreutils gawk gnused nix diffutils ]} done ''; }