diff --git a/pkgs/build-support/fetchgitrevision/default.nix b/pkgs/build-support/fetchgitrevision/default.nix index d1e96f4bee5b..e877648978d9 100644 --- a/pkgs/build-support/fetchgitrevision/default.nix +++ b/pkgs/build-support/fetchgitrevision/default.nix @@ -7,4 +7,4 @@ runCommand: git: repository: branch: rev=$(git ls-remote ${repository} | grep "refs/${branch}$" | awk '{ print $1 }') echo "[ \"$rev\" ]" > $out echo Latest revision in ${branch} is $rev - ''); + '')