From 65fc778a7e8fc253f65fa8cd3359b7d16450e07c Mon Sep 17 00:00:00 2001 From: Daniel Firth <dan.firth@homotopic.tech> Date: Sun, 4 Sep 2022 14:00:24 +0100 Subject: [PATCH] Pull integer-logarithms from hackage --- flake.lock | 17 ----------------- flake.nix | 4 ---- overlay.nix | 2 +- 3 files changed, 1 insertion(+), 22 deletions(-) diff --git a/flake.lock b/flake.lock index 29ee0377..7457ce0d 100644 --- a/flake.lock +++ b/flake.lock @@ -131,22 +131,6 @@ "type": "github" } }, - "integer-logarithms": { - "flake": false, - "locked": { - "lastModified": 1660123968, - "narHash": "sha256-2kekA7iAFDjgOV1ixhNBkuCUVEF3wZW5UGoQyb8jZUw=", - "owner": "haskellari", - "repo": "integer-logarithms", - "rev": "28a78aa2cafe12cf0b1f63c684be4fdf552afc61", - "type": "github" - }, - "original": { - "owner": "haskellari", - "repo": "integer-logarithms", - "type": "github" - } - }, "lint-utils": { "inputs": { "flake-utils": "flake-utils_2", @@ -224,7 +208,6 @@ "flake-parts": "flake-parts", "flake-utils": "flake-utils", "haskell-flake": "haskell-flake", - "integer-logarithms": "integer-logarithms", "lint-utils": "lint-utils", "memory": "memory", "nixpkgs": "nixpkgs_2", diff --git a/flake.nix b/flake.nix index 01251661..d33d2e7b 100644 --- a/flake.nix +++ b/flake.nix @@ -20,10 +20,6 @@ flake-parts.inputs.nixpkgs.follows = "nixpkgs"; lint-utils.url = "git+https://gitlab.homotopic.tech/nix/lint-utils"; haskell-flake.url = "github:srid/haskell-flake"; - integer-logarithms = { - url = "github:haskellari/integer-logarithms"; - flake = false; - }; memory = { url = "github:parsonsmatt/hs-memory/0f760c8ba0b7d5aacf04a7294e87e5e4fff53f40"; flake = false; diff --git a/overlay.nix b/overlay.nix index c0209a61..902edda9 100644 --- a/overlay.nix +++ b/overlay.nix @@ -125,7 +125,7 @@ final: prev: with pkgs.haskell.lib; { indexed-traversable-instances = doJailbreak (dontCheck prev.indexed-traversable-instances); - integer-logarithms = final.callCabal2nix "integer-logarithms" inputs.integer-logarithms { }; + integer-logarithms = final.callHackage "integer-logarithms" "1.0.3.1" { }; invariant = doJailbreak prev.invariant; -- GitLab