update dependencies

This commit is contained in:
nek0 2023-03-05 05:35:53 +01:00
parent e2588e9f3a
commit edb27838cc
2 changed files with 17 additions and 19 deletions

View file

@ -2,11 +2,11 @@
"nodes": { "nodes": {
"flake-utils": { "flake-utils": {
"locked": { "locked": {
"lastModified": 1659877975, "lastModified": 1676283394,
"narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", "narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", "rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -17,11 +17,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1664408601, "lastModified": 1677990182,
"narHash": "sha256-arQ2Xr1SHphkszK6OJLWGdFGkIwWo190rROBhXWRMI8=", "narHash": "sha256-+gawrl8LSHsFYCb2vaJS7j9u4wphKEemyT9KFbcHPaI=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "357bad603f72216b3f17c9b576586edd9ad51e96", "rev": "f5d2643d6b38e8d30b94ada083dab200e1243b02",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -17,26 +17,24 @@
pkgs.haskell.lib.doJailbreak (pkg.overrideAttrs (_: { meta = { }; })); pkgs.haskell.lib.doJailbreak (pkg.overrideAttrs (_: { meta = { }; }));
packageName = "mateamt"; packageName = "mateamt";
in { in rec {
packages.${packageName} = # (ref:haskell-package-def) packages.${packageName} = # (ref:haskell-package-def)
haskellPackages.callCabal2nix packageName self rec { haskellPackages.callCabal2nix packageName self rec {
# Dependency overrides go here # Dependency overrides go here
openapi3 = jailbreakUnbreak haskellPackages.openapi3;
}; };
defaultPackage = self.packages.${system}.${packageName}; defaultPackage = self.packages.${system}.${packageName};
devShell = self.packages.${system}.${packageName}.env; devShell = haskellPackages.shellFor {
packages = p: [ defaultPackage ];
#devShell = pkgs.mkShell { withHoogle = true;
# buildInputs = with haskellPackages; [ buildInputs = with haskellPackages; [
# haskell-language-server haskell-language-server
# ghcid ghcid
# cabal-install cabal-install
# ] ++ [ ];
# zlib };
# ];
# inputsFrom = builtins.attrValues self.packages.${system};
#};
}); });
} }