mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2025-01-07 14:00:59 +03:00
gitlab-workhorse: drop deterministic-build.patch
we already set VERSION in makeFlags below.
This commit is contained in:
parent
d768e3967f
commit
8b51e837b9
@ -14,7 +14,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [ git go ];
|
||||
|
||||
patches = [ ./remove-hardcoded-paths.patch ./deterministic-build.patch ];
|
||||
patches = [ ./remove-hardcoded-paths.patch ];
|
||||
|
||||
makeFlags = [ "PREFIX=$(out)" "VERSION=${version}" ];
|
||||
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- a/Makefile 2018-10-08 12:45:15.206269937 +0200
|
||||
+++ b/Makefile 2018-10-08 12:45:24.435366307 +0200
|
||||
@@ -6,7 +6,7 @@
|
||||
BIN_BUILD_DIR := $(TARGET_DIR)/bin
|
||||
PKG_BUILD_DIR := $(TARGET_DIR)/src/$(PKG)
|
||||
COVERAGE_DIR := $(TARGET_DIR)/cover
|
||||
-VERSION := $(shell git describe)-$(shell date -u +%Y%m%d.%H%M%S)
|
||||
+VERSION := 6.1.1
|
||||
GOBUILD := go build -ldflags "-X main.Version=$(VERSION)"
|
||||
EXE_ALL := gitlab-zip-cat gitlab-zip-metadata gitlab-workhorse
|
||||
INSTALL := install
|
Loading…
Reference in New Issue
Block a user