Commit 64346c9b authored by Daniel Firth's avatar Daniel Firth
Browse files

remove haskell-flake and stack files

parent 3911e125
No related merge requests found
Pipeline #1554 failed with stages
in 8 seconds
{
"nodes": {
"all-cabal-hashes": {
"flake": false,
"locked": {
"lastModified": 1662320435,
"narHash": "sha256-LZgRGB9RrWMzpL7jEBJNlMQ6xm6wpab3BJFn+Min5tg=",
"owner": "commercialhaskell",
"repo": "all-cabal-hashes",
"rev": "3ec45303eb815900bad7a7d6c97c09f4e0c2cb48",
"type": "github"
},
"original": {
"owner": "commercialhaskell",
"ref": "hackage",
"repo": "all-cabal-hashes",
"type": "github"
}
},
"all-cabal-hashes_2": {
"flake": false,
"locked": {
"lastModified": 1662320435,
"narHash": "sha256-LZgRGB9RrWMzpL7jEBJNlMQ6xm6wpab3BJFn+Min5tg=",
"owner": "commercialhaskell",
"repo": "all-cabal-hashes",
"rev": "3ec45303eb815900bad7a7d6c97c09f4e0c2cb48",
"type": "github"
},
"original": {
"owner": "commercialhaskell",
"ref": "hackage",
"repo": "all-cabal-hashes",
"type": "github"
}
},
"cborg": {
"flake": false,
"locked": {
"lastModified": 1661203454,
"narHash": "sha256-El+o3mioBcjNTnERNBEMRWU9bs9bJ0agxw4YHQKPV44=",
"owner": "parsonsmatt",
"repo": "cborg",
"rev": "05ca2063ff631667699bffbeee3a4a076943b905",
"type": "github"
},
"original": {
"owner": "parsonsmatt",
"repo": "cborg",
"rev": "05ca2063ff631667699bffbeee3a4a076943b905",
"type": "github"
}
},
"doctest": {
"flake": false,
"locked": {
"lastModified": 1652986762,
"narHash": "sha256-Ehlq1U6EUscYndVnH7IVe2MdjzHQTgqRQDEWR9wGVzk=",
"owner": "parsonsmatt",
"repo": "doctest",
"rev": "a5f696b80bb8220d284e34d90f0b94291b859e77",
"type": "github"
},
"original": {
"owner": "parsonsmatt",
"repo": "doctest",
"rev": "a5f696b80bb8220d284e34d90f0b94291b859e77",
"type": "github"
}
},
"double-conversion": {
"flake": false,
"locked": {
"lastModified": 1661030012,
"narHash": "sha256-K+UJK5ek5ufplqY7to9lfVnSKoa+rZUjNL95b0P7R3w=",
"owner": "haskell",
"repo": "double-conversion",
"rev": "5d092e0664442eaac8ae1d101dba57ce9b1c9b03",
"type": "github"
},
"original": {
"owner": "haskell",
"repo": "double-conversion",
"type": "github"
}
},
"flake-parts": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1661009076,
"narHash": "sha256-phAE40gctVygRq3G3B6LhvD7u2qdQT21xsz8DdRDYFo=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "850d8a76026127ef02f040fb0dcfdb8b749dd9d9",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"type": "github"
}
},
"flake-parts_2": {
"inputs": {
"nixpkgs": [
"horizon-platform",
"nixpkgs"
]
},
"flake-utils": {
"locked": {
"lastModified": 1661009076,
"narHash": "sha256-phAE40gctVygRq3G3B6LhvD7u2qdQT21xsz8DdRDYFo=",
"owner": "hercules-ci",
"repo": "flake-parts",
"rev": "850d8a76026127ef02f040fb0dcfdb8b749dd9d9",
"lastModified": 1659877975,
"narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "c0e246b9b83f637f4681389ecabcb2681b4f3af0",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "flake-parts",
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils": {
"flake-utils_2": {
"locked": {
"lastModified": 1659877975,
"narHash": "sha256-zllb8aq3YO3h8B/U0/J1WBgAL8EX5yWf5pMj3G0NAmc=",
......@@ -139,7 +29,7 @@
"type": "indirect"
}
},
"flake-utils_2": {
"flake-utils_3": {
"locked": {
"lastModified": 1644229661,
"narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=",
......@@ -154,7 +44,7 @@
"type": "github"
}
},
"flake-utils_3": {
"flake-utils_4": {
"locked": {
"lastModified": 1644229661,
"narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=",
......@@ -169,58 +59,18 @@
"type": "github"
}
},
"haskell-flake": {
"locked": {
"lastModified": 1661726764,
"narHash": "sha256-YzzOoff6m3W4g4B0E8xd3omvOhEVuRu/Rdvnmy2H6Jc=",
"owner": "srid",
"repo": "haskell-flake",
"rev": "3c27b5ba2eafc52f4bed232a8ff74cf0a5a99375",
"type": "github"
},
"original": {
"owner": "srid",
"repo": "haskell-flake",
"type": "github"
}
},
"haskell-flake_2": {
"locked": {
"lastModified": 1661726764,
"narHash": "sha256-YzzOoff6m3W4g4B0E8xd3omvOhEVuRu/Rdvnmy2H6Jc=",
"owner": "srid",
"repo": "haskell-flake",
"rev": "3c27b5ba2eafc52f4bed232a8ff74cf0a5a99375",
"type": "github"
},
"original": {
"owner": "srid",
"repo": "haskell-flake",
"type": "github"
}
},
"horizon-platform": {
"inputs": {
"all-cabal-hashes": "all-cabal-hashes_2",
"cborg": "cborg",
"doctest": "doctest",
"double-conversion": "double-conversion",
"flake-parts": "flake-parts_2",
"flake-utils": "flake-utils",
"haskell-flake": "haskell-flake_2",
"flake-utils": "flake-utils_2",
"lint-utils": "lint-utils",
"memory": "memory",
"nixpkgs": "nixpkgs_2",
"servant": "servant",
"tasty": "tasty",
"tasty-hedgehog": "tasty-hedgehog"
"nixpkgs": "nixpkgs_2"
},
"locked": {
"lastModified": 1662330958,
"narHash": "sha256-h6mD24f4+/ZEityXdabWPWF33fK7cA7bxTa04saX3cc=",
"lastModified": 1666185974,
"narHash": "sha256-DzcIyPkrSaPE/+qNavMsqwlHRVec5dXk7pwzuGu+8Mk=",
"ref": "refs/heads/master",
"rev": "2975fd33cddc379a42b031ce961bf5cf5c07599a",
"revCount": 33,
"rev": "8d38058d93bc0bec8342e95b9542d4e78aac7b22",
"revCount": 190,
"type": "git",
"url": "https://gitlab.homotopic.tech/horizon/horizon-platform"
},
......@@ -231,7 +81,7 @@
},
"lint-utils": {
"inputs": {
"flake-utils": "flake-utils_2",
"flake-utils": "flake-utils_3",
"nixpkgs": "nixpkgs"
},
"locked": {
......@@ -250,7 +100,7 @@
},
"lint-utils_2": {
"inputs": {
"flake-utils": "flake-utils_3",
"flake-utils": "flake-utils_4",
"nixpkgs": [
"nixpkgs"
]
......@@ -269,23 +119,6 @@
"url": "https://gitlab.homotopic.tech/nix/lint-utils"
}
},
"memory": {
"flake": false,
"locked": {
"lastModified": 1653425739,
"narHash": "sha256-X4XcCEouvpX19d1dr3eg3L6s/aaRccuAsl980/FrRmE=",
"owner": "parsonsmatt",
"repo": "hs-memory",
"rev": "0f760c8ba0b7d5aacf04a7294e87e5e4fff53f40",
"type": "github"
},
"original": {
"owner": "parsonsmatt",
"repo": "hs-memory",
"rev": "0f760c8ba0b7d5aacf04a7294e87e5e4fff53f40",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1644525281,
......@@ -304,11 +137,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1662096612,
"narHash": "sha256-R+Q8l5JuyJryRPdiIaYpO5O3A55rT+/pItBrKcy7LM4=",
"lastModified": 1665830552,
"narHash": "sha256-qel2bZ9TqfW8WzWCWdjuCy4bVFhhGsEeqFv/bj1ka2s=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "21de2b973f9fee595a7a1ac4693efff791245c34",
"rev": "26b7e6ab6a864c3e7e077bcb27a49f0480b9894a",
"type": "github"
},
"original": {
......@@ -320,11 +153,11 @@
},
"nixpkgs_3": {
"locked": {
"lastModified": 1662096612,
"narHash": "sha256-R+Q8l5JuyJryRPdiIaYpO5O3A55rT+/pItBrKcy7LM4=",
"lastModified": 1666154393,
"narHash": "sha256-G4jctSMlliZvG4zUrcas0O+t3qJHzM0moBpG93lcl44=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "21de2b973f9fee595a7a1ac4693efff791245c34",
"rev": "7b38cb118ce4ad36d19a8b021068633b57ce0d3f",
"type": "github"
},
"original": {
......@@ -336,62 +169,11 @@
},
"root": {
"inputs": {
"all-cabal-hashes": "all-cabal-hashes",
"flake-parts": "flake-parts",
"haskell-flake": "haskell-flake",
"flake-utils": "flake-utils",
"horizon-platform": "horizon-platform",
"lint-utils": "lint-utils_2",
"nixpkgs": "nixpkgs_3"
}
},
"servant": {
"flake": false,
"locked": {
"lastModified": 1661296516,
"narHash": "sha256-molPpcquyLIAK2FlPOLgsQhhAPuitGYCEYKY12ZcRBo=",
"owner": "TeofilC",
"repo": "servant",
"rev": "e9a799ecb5cef047909b4c22071a8fa68ba30a8a",
"type": "github"
},
"original": {
"owner": "TeofilC",
"ref": "ghc-9.4",
"repo": "servant",
"type": "github"
}
},
"tasty": {
"flake": false,
"locked": {
"lastModified": 1660335396,
"narHash": "sha256-kZjFyOWW2WLs4+MerJi5xgpBorO8lkfEOeNS1bJhygs=",
"owner": "UnkindPartition",
"repo": "tasty",
"rev": "df7ccab50d361c7d1a3c00960faac883d98c2530",
"type": "github"
},
"original": {
"owner": "UnkindPartition",
"repo": "tasty",
"type": "github"
}
},
"tasty-hedgehog": {
"flake": false,
"locked": {
"lastModified": 1662119872,
"narHash": "sha256-BS4h27omxUGduez6ag0bLOG1nqMDvql+bOJ/ApXmhOI=",
"owner": "locallycompact",
"repo": "tasty-hedgehog",
"rev": "4a3477578ed21aa82e5b74f387d08e5d750635d6",
"type": "github"
},
"original": {
"owner": "locallycompact",
"repo": "tasty-hedgehog",
"type": "github"
}
}
},
"root": "root",
......
{
description = "polysemy-methodology";
inputs = {
all-cabal-hashes = {
url = "github:commercialhaskell/all-cabal-hashes?ref=hackage";
flake = false;
flake-utils = {
url = "github:numtide/flake-utils";
};
flake-parts = {
inputs.nixpkgs.follows = "nixpkgs";
url = "github:hercules-ci/flake-parts";
horizon-platform = {
url = "git+https://gitlab.homotopic.tech/horizon/horizon-platform";
};
lint-utils = {
url = "git+https://gitlab.homotopic.tech/nix/lint-utils";
inputs.nixpkgs.follows = "nixpkgs";
};
horizon-platform = {
url = "git+https://gitlab.homotopic.tech/horizon/horizon-platform";
};
haskell-flake.url = "github:srid/haskell-flake";
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
};
outputs =
inputs@{ self
, all-cabal-hashes
, flake-parts
, haskell-flake
, flake-utils
, horizon-platform
, lint-utils
, nixpkgs
, ...
}:
flake-parts.lib.mkFlake { inherit self; } {
systems = [ "x86_64-linux" ];
imports = [
haskell-flake.flakeModule
];
perSystem = { config, pkgs, system, ... }:
let
pkgs' = import nixpkgs {
inherit system;
overlays = [ (final: prev: { all-cabal-hashes = inputs.all-cabal-hashes; }) ];
flake-utils.lib.eachSystem [ "x86_64-linux" ] (system:
let
pkgs = import nixpkgs { inherit system; };
hsPkgs = pkgs.haskell.packages.ghc942.override {
overrides = hfinal: hprev:
horizon-platform.overrides.x86_64-linux.ghc942 hfinal hprev //
{
polysemy-methodology = hprev.callCabal2nix "polysemy-methodology" ./. { };
};
in
};
in
{
devShells.default = hsPkgs.polysemy-methodology.env.overrideAttrs (attrs: {
buildInputs = attrs.buildInputs ++ [
hsPkgs.cabal-install
pkgs.nixpkgs-fmt
];
});
packages.default = hsPkgs.polysemy-methodology;
checks =
{
haskellProjects = {
polysemy-methodology = {
root = ./.;
haskellPackages = pkgs'.haskell.packages.ghc942;
buildTools = hp: {
cabal-doctest = null;
cabal-install = null;
ghcid = null;
haskell-language-server = null;
hedgehog = null;
hlint = null;
hoogle = null;
hoogle-with-packages = null;
warp = null;
};
source-overrides = { };
overrides = final: prev:
with pkgs.haskell.lib;
(horizon-platform.overrides.x86_64-linux.ghc942 final prev) //
{ };
};
};
devShells.default = config.devShells.polysemy-methodology;
packages.default = config.packages.polysemy-methodology;
checks =
{
hlint = lint-utils.outputs.linters.${system}.hlint self;
hpack = lint-utils.outputs.linters.${system}.hpack self;
nixpkgs-fmt = lint-utils.outputs.linters.${system}.nixpkgs-fmt self;
stylish-haskell = lint-utils.outputs.linters.${system}.stylish-haskell self;
};
hlint = lint-utils.outputs.linters.${system}.hlint self;
hpack = lint-utils.outputs.linters.${system}.hpack self;
nixpkgs-fmt = lint-utils.outputs.linters.${system}.nixpkgs-fmt self;
stylish-haskell = lint-utils.outputs.linters.${system}.stylish-haskell self;
};
};
});
}
resolver: nightly-2021-08-03
packages:
- .
# This file was autogenerated by Stack.
# You should not edit this file by hand.
# For more information, please see the documentation at:
# https://docs.haskellstack.org/en/stable/lock_files
packages: []
snapshots:
- completed:
size: 571367
url: https://raw.githubusercontent.com/commercialhaskell/stackage-snapshots/master/nightly/2021/8/3.yaml
sha256: 2142c4466ced7b2fed257eb735d6911cfa542cfbe065a0e0596518443db0c7a0
original: nightly-2021-08-03
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment