Skip to content

Commit

Permalink
rebase and pin nixpkgs to 22.05
Browse files Browse the repository at this point in the history
  • Loading branch information
walkah committed Aug 30, 2022
1 parent 640e7f9 commit 4eff64e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

inputs = {
haskellNix.url = "github:input-output-hk/haskell.nix";
nixpkgs.follows = "haskellNix/nixpkgs-unstable";
nixpkgs.follows = "haskellNix/nixpkgs-2205";
flake-utils.url = "github:numtide/flake-utils";

flake-compat = {
Expand All @@ -23,7 +23,7 @@
final.haskell-nix.project' {
src = pkgs.haskell-nix.haskellLib.cleanSourceWith { name = "fission"; src = ./.; };
compiler-nix-name = "ghc8107";
stack-sha256 = "029kzhvljx3x13ngmb1mvf4ljf75l3ngnj95n3gxmbj7a211xs3c";
stack-sha256 = "0y24hd42sn2qzdcfvy892rkv1as36divjskzz2h3cx5v9mgl1i1p";
materialized = ./nix/materialized;

# NOTE: Currently handling devShells separately from haskell.nix
Expand Down
1 change: 1 addition & 0 deletions nix/materialized/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"dimensions" = (((hackage.dimensions)."2.1.1.0").revisions).default;
"hfsevents" = (((hackage.hfsevents)."0.1.6").revisions).default;
"lzma-clib" = (((hackage.lzma-clib)."5.2.2").revisions).default;
"libsecp256k1" = (((hackage.libsecp256k1)."0.1.0").revisions).default;
"raven-haskell" = (((hackage.raven-haskell)."0.1.4.0").revisions).default;
"rescue" = (((hackage.rescue)."0.4.2.1").revisions).default;
"servant-ekg" = (((hackage.servant-ekg)."0.3.1").revisions).default;
Expand Down
6 changes: 6 additions & 0 deletions nix/materialized/hs-ucan.nix
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
(hsPkgs."hashable" or (errorHandler.buildDepError "hashable"))
(hsPkgs."ipfs" or (errorHandler.buildDepError "ipfs"))
(hsPkgs."lens" or (errorHandler.buildDepError "lens"))
(hsPkgs."libsecp256k1" or (errorHandler.buildDepError "libsecp256k1"))
(hsPkgs."memory" or (errorHandler.buildDepError "memory"))
(hsPkgs."mime-types" or (errorHandler.buildDepError "mime-types"))
(hsPkgs."monad-control" or (errorHandler.buildDepError "monad-control"))
Expand All @@ -85,6 +86,7 @@
(hsPkgs."x509" or (errorHandler.buildDepError "x509"))
(hsPkgs."yaml" or (errorHandler.buildDepError "yaml"))
];
libs = [ (pkgs."secp256k1" or (errorHandler.sysDepError "secp256k1")) ];
buildable = true;
modules = [ "Paths_hs_ucan" ];
hsSourceDirs = [ "library" ];
Expand Down Expand Up @@ -122,6 +124,7 @@
(hsPkgs."hspec-expectations" or (errorHandler.buildDepError "hspec-expectations"))
(hsPkgs."ipfs" or (errorHandler.buildDepError "ipfs"))
(hsPkgs."lens" or (errorHandler.buildDepError "lens"))
(hsPkgs."libsecp256k1" or (errorHandler.buildDepError "libsecp256k1"))
(hsPkgs."memory" or (errorHandler.buildDepError "memory"))
(hsPkgs."mime-types" or (errorHandler.buildDepError "mime-types"))
(hsPkgs."monad-control" or (errorHandler.buildDepError "monad-control"))
Expand Down Expand Up @@ -153,6 +156,9 @@
(hsPkgs."x509" or (errorHandler.buildDepError "x509"))
(hsPkgs."yaml" or (errorHandler.buildDepError "yaml"))
];
libs = [
(pkgs."secp256k1" or (errorHandler.sysDepError "secp256k1"))
];
buildable = true;
modules = [ "Paths_hs_ucan" ];
hsSourceDirs = [ "library" "test" ];
Expand Down

0 comments on commit 4eff64e

Please sign in to comment.