tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
sourcehut.pagessrht: 0.15.4 -> 0.15.7
Christoph Heiss
2 years ago
608544fa
579b692d
+8
-4
1 changed file
expand all
collapse all
unified
split
pkgs
applications
version-management
sourcehut
pages.nix
+8
-4
pkgs/applications/version-management/sourcehut/pages.nix
···
6
6
7
7
buildGoModule (rec {
8
8
pname = "pagessrht";
9
9
-
version = "0.15.4";
9
9
+
version = "0.15.7";
10
10
11
11
src = fetchFromSourcehut {
12
12
owner = "~sircmpwn";
13
13
repo = "pages.sr.ht";
14
14
rev = version;
15
15
-
hash = "sha256-3kdQVIL7xaIPu2elxj1k+4/y75bd+OKP5+VPSniF7w8=";
15
15
+
hash = "sha256-Lobuf12ybSO7Y4ztOLMFW0dmPFaBSEPCy4Nmh89tylI=";
16
16
};
17
17
18
18
postPatch = ''
19
19
substituteInPlace Makefile \
20
20
--replace "all: server" ""
21
21
+
22
22
+
# fix build failure due to unused import
23
23
+
substituteInPlace server.go \
24
24
+
--replace-warn ' "fmt"' ""
21
25
'';
22
26
23
23
-
vendorHash = "sha256-DP+6rxjiXzs0RbSuMD20XwO/+v7QXCNgXj2LxZ96lWE=";
27
27
+
vendorHash = "sha256-9hpOkP6AYSZe7MW1mrwFEKq7TvVt6OcF6eHWY4jARuU=";
24
28
25
29
postInstall = ''
26
30
mkdir -p $out/share/sql/
···
36
40
};
37
41
# There is no ./loaders but this does not cause troubles
38
42
# to go generate
39
39
-
} // import ./fix-gqlgen-trimpath.nix { inherit unzip; })
43
43
+
} // import ./fix-gqlgen-trimpath.nix { inherit unzip; gqlgenVersion = "0.17.42"; })