Skip to content

Commit 7868cb8

Browse files
taku0dezgeg
authored andcommittedMay 19, 2017
common-updater-script: fix error handling
diffutils is required for cmp command
1 parent 53cd7f3 commit 7868cb8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎pkgs/common-updater/scripts.nix

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{ stdenv, makeWrapper, coreutils, gawk, gnused, nix }:
1+
{ stdenv, makeWrapper, coreutils, gawk, gnused, diffutils, nix }:
22

33
stdenv.mkDerivation {
44
name = "common-updater-scripts";
@@ -12,7 +12,7 @@ stdenv.mkDerivation {
1212
cp ${./scripts}/* $out/bin
1313
1414
for f in $out/bin/*; do
15-
wrapProgram $f --prefix PATH : ${stdenv.lib.makeBinPath [ coreutils gawk gnused nix ]}
15+
wrapProgram $f --prefix PATH : ${stdenv.lib.makeBinPath [ coreutils gawk gnused nix diffutils ]}
1616
done
1717
'';
1818
}

0 commit comments

Comments
 (0)
Please sign in to comment.