fix it
This commit is contained in:
parent
b5babcdb2e
commit
e2588e9f3a
3 changed files with 15 additions and 19 deletions
|
@ -1,3 +0,0 @@
|
|||
-- index-state: 2021-02-05T00:00:00Z
|
||||
packages:
|
||||
./
|
29
flake.nix
29
flake.nix
|
@ -11,14 +11,7 @@
|
|||
let
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
|
||||
haskellPackages = pkgs.haskellPackages.override {
|
||||
overrides = hself: hsuper: {
|
||||
pg-transact = with pkgs.haskell.lib;
|
||||
unmarkBroken (dontCheck (doJailbreak hsuper.pg-transact));
|
||||
hspec-wai-json = with pkgs.haskell.lib;
|
||||
unmarkBroken (dontCheck (doJailbreak hsuper.hspec-wai-json));
|
||||
};
|
||||
};
|
||||
haskellPackages = pkgs.haskellPackages;
|
||||
|
||||
jailbreakUnbreak = pkg:
|
||||
pkgs.haskell.lib.doJailbreak (pkg.overrideAttrs (_: { meta = { }; }));
|
||||
|
@ -32,14 +25,18 @@
|
|||
|
||||
defaultPackage = self.packages.${system}.${packageName};
|
||||
|
||||
devShell = pkgs.mkShell {
|
||||
buildInputs = with haskellPackages; [
|
||||
haskell-language-server
|
||||
ghcid
|
||||
cabal-install
|
||||
];
|
||||
inputsFrom = builtins.attrValues self.packages.${system};
|
||||
};
|
||||
devShell = self.packages.${system}.${packageName}.env;
|
||||
|
||||
#devShell = pkgs.mkShell {
|
||||
# buildInputs = with haskellPackages; [
|
||||
# haskell-language-server
|
||||
# ghcid
|
||||
# cabal-install
|
||||
# ] ++ [
|
||||
# zlib
|
||||
# ];
|
||||
# inputsFrom = builtins.attrValues self.packages.${system};
|
||||
#};
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
{-# LANGUAGE TypeFamilies #-}
|
||||
module Types.Auth where
|
||||
|
||||
import Crypto.JWT
|
||||
|
||||
import GHC.Generics
|
||||
|
||||
import Data.Aeson
|
||||
|
|
Loading…
Reference in a new issue