From 42af21820bb426cd5810d2e3e9a4e0412dd6f7fe Mon Sep 17 00:00:00 2001 From: nek0 Date: Fri, 16 Sep 2022 16:18:08 +0200 Subject: [PATCH] moar flake --- flake.lock | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ flake.nix | 7 ++++- 2 files changed, 98 insertions(+), 1 deletion(-) create mode 100644 flake.lock diff --git a/flake.lock b/flake.lock new file mode 100644 index 0000000..847776b --- /dev/null +++ b/flake.lock @@ -0,0 +1,92 @@ +{ + "nodes": { + "flake-utils": { + "locked": { + "lastModified": 1659877975, + "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_2": { + "locked": { + "lastModified": 1659877975, + "narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "mateamt-src": { + "inputs": { + "flake-utils": "flake-utils_2", + "nixpkgs": "nixpkgs" + }, + "locked": { + "lastModified": 1663337601, + "narHash": "sha256-dbLuaomHGg3+OBhxUrxEB2h3RzTcPvMBwjB/TYlOJTw=", + "ref": "refs/heads/master", + "rev": "3ccb21c0ffecd7a0cf94e6c18ee35f8082fec65c", + "revCount": 278, + "type": "git", + "url": "https://gitea.nek0.eu/nek0/mateamt" + }, + "original": { + "type": "git", + "url": "https://gitea.nek0.eu/nek0/mateamt" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1663333964, + "narHash": "sha256-xvz7pTWzm/swuOXMuX/ZE/pNVUIStr0Lizavz0DUcU4=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "f8cc46e4930efdad1e06e251330fbd7064b52ab5", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_2": { + "locked": { + "lastModified": 1663336929, + "narHash": "sha256-DdivDyCmjeWkkNDP4JYdAu1O9CEY4CEpeIXgJz5NKJM=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "e4a45f97c0a0265d6d1cb25b71beafac732eeb10", + "type": "github" + }, + "original": { + "owner": "NixOS", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "flake-utils": "flake-utils", + "mateamt-src": "mateamt-src", + "nixpkgs": "nixpkgs_2" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/flake.nix b/flake.nix index ab216a3..76a78f3 100644 --- a/flake.nix +++ b/flake.nix @@ -12,7 +12,12 @@ let pkgs = nixpkgs.legacyPackages.${system}; - haskellPackages = pkgs.haskellPackages; + haskellPackages = pkgs.haskellPackages.override { + overrides = hself: hsuper: { + i18n = with pkgs.haskell.lib; + doJailbreak (unmarkBroken (dontCheck hsuper.i18n)); + }; + }; jailbreakUnbreak = pkg: pkgs.haskell.lib.doJailbreak (pkg.overrideAttrs (_: { meta = { }; }));