This commit is contained in:
nek0 2022-09-29 04:25:54 +02:00
parent b5babcdb2e
commit e2588e9f3a
3 changed files with 15 additions and 19 deletions

View file

@ -1,3 +0,0 @@
-- index-state: 2021-02-05T00:00:00Z
packages:
./

View file

@ -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};
#};
});
}

View file

@ -3,6 +3,8 @@
{-# LANGUAGE TypeFamilies #-}
module Types.Auth where
import Crypto.JWT
import GHC.Generics
import Data.Aeson