dolt: init at 0.12.0 (#75693)
* dolt: init at 0.12.0 * Update pkgs/servers/sql/dolt/default.nix Co-Authored-By: robert seaton <robbpseaton@gmail.com> * fix eval * Update pkgs/servers/sql/dolt/default.nix Co-Authored-By: Wael Nasreddine <wael.nasreddine@gmail.com> * update Go docs as well
This commit is contained in:
@@ -10,6 +10,9 @@
|
||||
# A function to override the go-modules derivation
|
||||
, overrideModAttrs ? (_oldAttrs : {})
|
||||
|
||||
# path to go.mod and go.sum directory
|
||||
, modRoot ? "./"
|
||||
|
||||
# modSha256 is the sha256 of the vendored dependencies
|
||||
, modSha256
|
||||
|
||||
@@ -58,7 +61,7 @@ let
|
||||
export GOCACHE=$TMPDIR/go-cache
|
||||
export GOPATH="$TMPDIR/go"
|
||||
mkdir -p "''${GOPATH}/pkg/mod/cache/download"
|
||||
|
||||
cd "${modRoot}"
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
@@ -101,6 +104,8 @@ let
|
||||
export GOSUMDB=off
|
||||
export GOPROXY=file://${go-modules}
|
||||
|
||||
cd "$modRoot"
|
||||
|
||||
runHook postConfigure
|
||||
'';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user