Skip to content

Commit 1cd8f2a

Browse files
committed
chore: fix formatting
1 parent a964d82 commit 1cd8f2a

File tree

4 files changed

+5
-19
lines changed

4 files changed

+5
-19
lines changed

nix/cargo-pgrx/mkPgrxExtension.nix

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,7 @@
66
rust-bin,
77
}:
88
let
9-
inherit
10-
(
11-
(callPackage ./default.nix {
12-
inherit rustVersion;
13-
})
14-
)
15-
mkCargoPgrx
16-
;
9+
inherit ((callPackage ./default.nix { inherit rustVersion; })) mkCargoPgrx;
1710

1811
rustPlatform = makeRustPlatform {
1912
cargo = rust-bin.stable.${rustVersion}.default;

nix/checks.nix

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
let
2323
# Create a testing harness for a PostgreSQL package. This is used for
2424
# 'nix flake check', and works with any PostgreSQL package you hand it.
25+
# deadnix: skip
2526
makeCheckHarness =
2627
pgpkg:
2728
let

nix/ext/tests/wrappers.nix

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ self.inputs.nixpkgs.lib.nixos.runTest {
101101
requires = [ "postgresql-migrate.service" ];
102102
};
103103
};
104-
105104
};
106105
testScript =
107106
{ nodes, ... }:

nix/ext/wrappers/default.nix

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,9 @@ let
6666
lockFile = "${src}/Cargo.lock";
6767
outputHashes =
6868
if builtins.compareVersions "0.4.2" version >= 0 then
69-
{
70-
"clickhouse-rs-1.0.0-alpha.1" = "sha256-0zmoUo/GLyCKDLkpBsnLAyGs1xz6cubJhn+eVqMEMaw=";
71-
}
69+
{ "clickhouse-rs-1.0.0-alpha.1" = "sha256-0zmoUo/GLyCKDLkpBsnLAyGs1xz6cubJhn+eVqMEMaw="; }
7270
else if builtins.compareVersions "0.5.0" version >= 0 then
73-
{
74-
"clickhouse-rs-1.1.0-alpha.1" = "sha256-G+v4lNP5eK2U45D1fL90Dq24pUSlpIysNCxuZ17eac0=";
75-
}
71+
{ "clickhouse-rs-1.1.0-alpha.1" = "sha256-G+v4lNP5eK2U45D1fL90Dq24pUSlpIysNCxuZ17eac0="; }
7672
else if builtins.compareVersions "0.5.2" version == 0 then
7773
{
7874
"clickhouse-rs-1.1.0-alpha.1" = "sha256-nKiGzdsAgJej8NgyVOqHaD1sZLrNF1RPfEhu2pRwZ6o=";
@@ -159,9 +155,7 @@ let
159155
};
160156
}
161157
// lib.optionalAttrs (version == "0.3.0") {
162-
patches = [
163-
./0001-bump-pgrx-to-0.11.3.patch
164-
];
158+
patches = [ ./0001-bump-pgrx-to-0.11.3.patch ];
165159

166160
cargoLock = {
167161
lockFile = ./Cargo.lock-0.3.0;
@@ -181,7 +175,6 @@ let
181175
packages = builtins.attrValues (
182176
lib.mapAttrs (name: value: build name value.hash value.rust value.pgrx) supportedVersions
183177
);
184-
185178
in
186179
buildEnv {
187180
name = pname;

0 commit comments

Comments
 (0)