git.iko.soy/typeable/nixpkgs
on master help sign in
hubstaff: Fix quoting for older Nix versions

Issue #31179.

commit9fc1bf7d3c493678dd1795f024c9d6a62b1710b7 authorTuomas Tynkkynen <tuomas.tynkkynen@iki.fi> dateMon 27 Nov 2017, 09:25 (9 years ago) parent9216f5f
1 file changed+1−1
pkgs/applications/misc/hubstaff/default.nix+1−1
pkgs/applications/misc/hubstaff/default.nix+1−1
@@ -27,7 +27,7 @@ stdenv.mkDerivation {
2727 # MojoSetups have a ZIP file at the end. ZIP’s magic string is
2828 # most often PK\x03\x04. This *should* work for future updates,
2929 # but feel free to come up with something more reasonable.
30− dataZipOffset=$(grep --max-count=1 --byte-offset --only-matching --text $'PK\x03\x04' $curSrc | cut -d: -f1)
30+ dataZipOffset=$(grep --max-count=1 --byte-offset --only-matching --text ''$'PK\x03\x04' $curSrc | cut -d: -f1)
3131 dd bs=$dataZipOffset skip=1 if=$curSrc of=data.zip 2>/dev/null
3232 unzip -q data.zip "data/*"
3333 rm data.zip