packages: use REPO_DATA_DIR for GOPATH

This commit is contained in:
Max Headroom 2022-11-07 20:52:27 +01:00
parent eecb8d3322
commit 649fb307fd
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
tools = [ tools = [
pkgs.go_1_18 pkgs.go_1_18
]; ];
env.GOPATH.eval = "$PRJ_DATA_DIR/go"; env.GOPATH.eval = "$REPO_DATA_DIR/go";
}; };
packages.hyprspace = with pkgs; buildGo118Module { packages.hyprspace = with pkgs; buildGo118Module {
pname = "hyprspace"; pname = "hyprspace";

View file

@ -7,7 +7,7 @@
pkgs.gnumake pkgs.gnumake
pkgs.gcc pkgs.gcc
]; ];
env.GOPATH.eval = "$PRJ_DATA_DIR/go"; env.GOPATH.eval = "$REPO_DATA_DIR/go";
}; };
packages.ipfs-cluster = with pkgs; buildGo118Module { packages.ipfs-cluster = with pkgs; buildGo118Module {
pname = "ipfs-cluster"; pname = "ipfs-cluster";