moar flake

This commit is contained in:
nek0 2022-09-16 16:18:08 +02:00
parent 479c359f79
commit 42af21820b
2 changed files with 98 additions and 1 deletions

92
flake.lock Normal file
View File

@ -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
}

View File

@ -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 = { }; }));