From 807451572931315dc4dd0d2743cd0b9ce5aeecf3 Mon Sep 17 00:00:00 2001 From: chessai Date: Wed, 3 Jul 2024 15:13:08 -0500 Subject: [PATCH] update hackage input --- flake.lock | 11 +++++++---- flake.nix | 11 +++++++++-- 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/flake.lock b/flake.lock index aee452df4..e3ee07538 100644 --- a/flake.lock +++ b/flake.lock @@ -69,11 +69,11 @@ "hackage": { "flake": false, "locked": { - "lastModified": 1707870123, - "narHash": "sha256-pOvz6uuPYw3CiPgi63QhNYumoKeyzDh9JOkLDngGWsE=", + "lastModified": 1719967069, + "narHash": "sha256-QQ+y+vW0TXPFhcMjOTUH+M19DuqE2KoEfp6R9SGCcqM=", "owner": "input-output-hk", "repo": "hackage.nix", - "rev": "75345eba5d4159e6f54cbdc38785d1e0d0e655e0", + "rev": "c4a407c5ed49b77ab65247dabd02477153f2292c", "type": "github" }, "original": { @@ -237,7 +237,9 @@ "inputs": { "empty": "empty", "flake-compat": "flake-compat", - "hackage": "hackage", + "hackage": [ + "hackage" + ], "haskellNix": "haskellNix", "nixpkgs": "nixpkgs", "nixpkgs-rec": "nixpkgs-rec" @@ -324,6 +326,7 @@ "root": { "inputs": { "flake-utils": "flake-utils", + "hackage": "hackage", "hs-nix-infra": "hs-nix-infra" } }, diff --git a/flake.nix b/flake.nix index af9e1d683..e52b86a7e 100644 --- a/flake.nix +++ b/flake.nix @@ -2,11 +2,18 @@ description = "Kadena's Pact smart contract language"; inputs = { - hs-nix-infra.url = "github:kadena-io/hs-nix-infra"; + hackage = { + url = "github:input-output-hk/hackage.nix"; + flake = false; + }; + hs-nix-infra = { + url = "github:kadena-io/hs-nix-infra"; + inputs.hackage.follows = "hackage"; + }; flake-utils.url = "github:numtide/flake-utils"; }; - outputs = { self, hs-nix-infra, flake-utils }: + outputs = { self, hs-nix-infra, flake-utils, ... }: flake-utils.lib.eachSystem [ "x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin" ] (system: