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
|
let
|
||||||
pkgs = nixpkgs.legacyPackages.${system};
|
pkgs = nixpkgs.legacyPackages.${system};
|
||||||
|
|
||||||
haskellPackages = pkgs.haskellPackages.override {
|
haskellPackages = pkgs.haskellPackages;
|
||||||
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));
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
jailbreakUnbreak = pkg:
|
jailbreakUnbreak = pkg:
|
||||||
pkgs.haskell.lib.doJailbreak (pkg.overrideAttrs (_: { meta = { }; }));
|
pkgs.haskell.lib.doJailbreak (pkg.overrideAttrs (_: { meta = { }; }));
|
||||||
|
@ -32,14 +25,18 @@
|
||||||
|
|
||||||
defaultPackage = self.packages.${system}.${packageName};
|
defaultPackage = self.packages.${system}.${packageName};
|
||||||
|
|
||||||
devShell = pkgs.mkShell {
|
devShell = self.packages.${system}.${packageName}.env;
|
||||||
buildInputs = with haskellPackages; [
|
|
||||||
haskell-language-server
|
#devShell = pkgs.mkShell {
|
||||||
ghcid
|
# buildInputs = with haskellPackages; [
|
||||||
cabal-install
|
# haskell-language-server
|
||||||
];
|
# ghcid
|
||||||
inputsFrom = builtins.attrValues self.packages.${system};
|
# cabal-install
|
||||||
};
|
# ] ++ [
|
||||||
|
# zlib
|
||||||
|
# ];
|
||||||
|
# inputsFrom = builtins.attrValues self.packages.${system};
|
||||||
|
#};
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,8 @@
|
||||||
{-# LANGUAGE TypeFamilies #-}
|
{-# LANGUAGE TypeFamilies #-}
|
||||||
module Types.Auth where
|
module Types.Auth where
|
||||||
|
|
||||||
|
import Crypto.JWT
|
||||||
|
|
||||||
import GHC.Generics
|
import GHC.Generics
|
||||||
|
|
||||||
import Data.Aeson
|
import Data.Aeson
|
||||||
|
|
Loading…
Reference in a new issue