nix: fix statix hints
This commit is contained in:
+4
-6
@@ -80,8 +80,7 @@ let
|
||||
}
|
||||
);
|
||||
|
||||
lib =
|
||||
pkgs.haskell.lib;
|
||||
inherit (pkgs.haskell) lib;
|
||||
in
|
||||
rec {
|
||||
inherit nixpkgs pkgs;
|
||||
@@ -104,13 +103,12 @@ rec {
|
||||
)
|
||||
);
|
||||
|
||||
env =
|
||||
postgrest.env;
|
||||
inherit (postgrest) env;
|
||||
|
||||
# Tooling for analyzing Haskell imports and exports.
|
||||
hsie =
|
||||
pkgs.callPackage nix/hsie {
|
||||
ghcWithPackages = pkgs.haskell.packages."${compiler}".ghcWithPackages;
|
||||
inherit (pkgs.haskell.packages."${compiler}") ghcWithPackages;
|
||||
};
|
||||
|
||||
### Tools
|
||||
@@ -147,7 +145,7 @@ rec {
|
||||
pkgs.callPackage nix/tools/tests.nix {
|
||||
inherit postgrest devCabalOptions withTools;
|
||||
ghc = pkgs.haskell.compiler."${compiler}";
|
||||
hpc-codecov = pkgs.haskell.packages."${compiler}".hpc-codecov;
|
||||
inherit (pkgs.haskell.packages."${compiler}") hpc-codecov;
|
||||
};
|
||||
|
||||
withTools =
|
||||
|
||||
@@ -2,8 +2,7 @@
|
||||
|
||||
self: super:
|
||||
let
|
||||
lib =
|
||||
self.haskell.lib;
|
||||
inherit (self.haskell) lib;
|
||||
|
||||
overrides =
|
||||
final: prev:
|
||||
|
||||
@@ -14,13 +14,13 @@ let
|
||||
"postgrest-nixpkgs-upgrade";
|
||||
|
||||
refUrl =
|
||||
https://api.github.com/repos/nixos/nixpkgs/git/ref/heads/nixpkgs-unstable;
|
||||
"https://api.github.com/repos/nixos/nixpkgs/git/ref/heads/nixpkgs-unstable";
|
||||
|
||||
githubV3Header =
|
||||
"Accept: application/vnd.github.v3+json";
|
||||
|
||||
tarballUrlBase =
|
||||
https://github.com/nixos/nixpkgs/archive/;
|
||||
"https://github.com/nixos/nixpkgs/archive/";
|
||||
|
||||
upgrade =
|
||||
checkedShellScript
|
||||
|
||||
Reference in New Issue
Block a user