sourcehut.pagessrht: remove merged patch
This commit is contained in:
committed by
Tom Bereknyei
parent
4a8a454ff7
commit
4a33e26079
-27
@@ -1,27 +0,0 @@
|
||||
From 3df160ad289b25574322f587095d00d6641f057c Mon Sep 17 00:00:00 2001
|
||||
From: Juan Picca <juan.picca@jumapico.uy>
|
||||
Date: Wed, 21 Jul 2021 08:26:56 -0300
|
||||
Subject: [PATCH] Fix syntax error in schema.sql
|
||||
|
||||
---
|
||||
schema.sql | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/schema.sql b/schema.sql
|
||||
index 168377f..2e473ea 100644
|
||||
--- a/schema.sql
|
||||
+++ b/schema.sql
|
||||
@@ -28,8 +28,8 @@ CREATE TABLE sites (
|
||||
user_id integer NOT NULL references "user"(id),
|
||||
domain varchar NOT NULL,
|
||||
protocol protocol NOT NULL,
|
||||
- version varchar NOT NULL
|
||||
- UNIQUE (domain, protocol),
|
||||
+ version varchar NOT NULL,
|
||||
+ UNIQUE (domain, protocol)
|
||||
);
|
||||
|
||||
COMMIT;
|
||||
--
|
||||
2.32.0
|
||||
|
||||
@@ -16,12 +16,7 @@ in
|
||||
buildGoModule {
|
||||
inherit src version;
|
||||
pname = "pagessrht";
|
||||
vendorSha256 = "sha256-xOd9i+PNlLxZrw/+z/C9V+AbOLEociW2YHY+x1K+mJI=";
|
||||
|
||||
patches = [
|
||||
# Upstream after 0.4.8
|
||||
./pages-fix-syntax-error-in-schema.sql.patch
|
||||
];
|
||||
vendorSha256 = "sha256-YFRBoflFy48ipTvXdZ4qPSEgTIYvm4752JRZSzRG++U=";
|
||||
|
||||
postInstall = ''
|
||||
mkdir -p $out/share/sql/
|
||||
|
||||
Reference in New Issue
Block a user