@@ -3,13 +3,11 @@
33{ lib, buildGoModule, fetchFromGitHub, bash, pkg-config, runCommand, git, copyPathToStore }:
44
55let
6− src = ./.;
7−
8− gitSrc = copyPathToStore ./.;
6+ src = copyPathToStore ./.;
97 revision = runCommand "get-rev" {
108 nativeBuildInputs = [ git ];
119 dummy = builtins.currentTime;
12− } "GIT_DIR=${gitSrc}/.git git rev-parse --short HEAD | tr -d '\n' > $out";
10+ } "GIT_DIR=${src}/.git git rev-parse --short HEAD | tr -d '\n' > $out";
1311in buildGoModule {
1412 pname = "prybar-${language}";
1513 version = builtins.readFile revision;