diff --git a/projects/direnv.net/package.yml b/projects/direnv.net/package.yml index 8a00f872..0002f710 100644 --- a/projects/direnv.net/package.yml +++ b/projects/direnv.net/package.yml @@ -11,8 +11,9 @@ provides: build: dependencies: go.dev: ^1.18 - script: | - make install PREFIX="{{ prefix }}" + script: make install PREFIX="{{ prefix }}" $EXTRA_ARGS + env: + linux: + EXTRA_ARGS: GO_LDFLAGS=-buildmode=pie -test: - test "$(direnv --version)" = "{{ version }}" +test: test "$(direnv --version)" = "{{ version }}"