common-updater-script: fix error handling
diffutils is required for cmp command
This commit is contained in:
parent
53cd7f3373
commit
7868cb8ad4
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, makeWrapper, coreutils, gawk, gnused, nix }:
|
{ stdenv, makeWrapper, coreutils, gawk, gnused, diffutils, nix }:
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "common-updater-scripts";
|
name = "common-updater-scripts";
|
||||||
|
@ -12,7 +12,7 @@ stdenv.mkDerivation {
|
||||||
cp ${./scripts}/* $out/bin
|
cp ${./scripts}/* $out/bin
|
||||||
|
|
||||||
for f in $out/bin/*; do
|
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
|
done
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue