Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
horizon-platform
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Théophile Choutri
horizon-platform
Commits
0c5bc768
Commit
0c5bc768
authored
1 year ago
by
Daniel Firth
Browse files
Options
Downloads
Patches
Plain Diff
postgresql-syntax: patch
parent
2b02d4e8
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configuration/common.nix
+8
-3
8 additions, 3 deletions
configuration/common.nix
configuration/patches/postgresql-syntax-01.patch
+32
-0
32 additions, 0 deletions
configuration/patches/postgresql-syntax-01.patch
with
40 additions
and
3 deletions
configuration/common.nix
+
8
−
3
View file @
0c5bc768
...
@@ -43,9 +43,6 @@ final: prev: {
...
@@ -43,9 +43,6 @@ final: prev: {
];
];
});
});
libsodium
=
prev
.
callPackage
../pkgs/libsodium.nix
{
inherit
(
pkgs
)
libsodium
;
};
libsodium
=
prev
.
callPackage
../pkgs/libsodium.nix
{
inherit
(
pkgs
)
libsodium
;
};
linear-generics
=
overrideCabal
linear-generics
=
overrideCabal
...
@@ -58,6 +55,14 @@ final: prev: {
...
@@ -58,6 +55,14 @@ final: prev: {
];
];
});
});
postgresql-syntax
=
overrideCabal
prev
.
postgresql-syntax
(
_
:
{
patches
=
[
./patches/postgresql-syntax-01.patch
];
});
saltine
=
addPkgconfigDepend
prev
.
saltine
pkgs
.
libsodium
;
saltine
=
addPkgconfigDepend
prev
.
saltine
pkgs
.
libsodium
;
...
...
This diff is collapsed.
Click to expand it.
configuration/patches/postgresql-syntax-01.patch
0 → 100644
+
32
−
0
View file @
0c5bc768
commit ece56da3079d80e69fece7e05a5540fd4858a98c
Author: Daniel Firth <dan.firth@homotopic.tech>
Date: Sun Dec 3 09:22:44 2023 +0000
hide unzip and unsnoc
diff --git a/library/PostgresqlSyntax/Extras/NonEmpty.hs b/library/PostgresqlSyntax/Extras/NonEmpty.hs
index 7d9ecd1..d0cd890 100644
--- a/library/PostgresqlSyntax/Extras/NonEmpty.hs
+++ b/library/PostgresqlSyntax/Extras/NonEmpty.hs
@@ -1,7 +1,7 @@
module PostgresqlSyntax.Extras.NonEmpty where
import Data.List.NonEmpty
-import PostgresqlSyntax.Prelude hiding (cons, fromList, head, init, last, reverse, tail, uncons)
+import PostgresqlSyntax.Prelude hiding (cons, fromList, head, init, last, reverse, tail, uncons, unsnoc)
-- |
-- >>> intersperseFoldMap ", " id (fromList ["a"])
diff --git a/library/PostgresqlSyntax/Prelude.hs b/library/PostgresqlSyntax/Prelude.hs
index c16ee7a..9fe2596 100644
--- a/library/PostgresqlSyntax/Prelude.hs
+++ b/library/PostgresqlSyntax/Prelude.hs
@@ -29,7 +29,7 @@
import Data.Either as Exports
import Data.Fixed as Exports
import Data.Foldable as Exports
import Data.Function as Exports hiding (id, (.))
-import Data.Functor as Exports
+import Data.Functor as Exports hiding (unzip)
import Data.Functor.Identity as Exports
import Data.HashMap.Strict as Exports (HashMap)
import Data.HashSet as Exports (HashSet)
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment