Skip to content
Snippets Groups Projects
Commit b3c8004a authored by Daniel Firth's avatar Daniel Firth
Browse files

develop/flake: switch to horizon-develop-flake flake parts module

parent 2fb306e2
No related merge requests found
This diff is collapsed.
......@@ -6,40 +6,27 @@
};
inputs = {
feedback.url = "github:NorfairKing/feedback";
flake-parts.url = "github:hercules-ci/flake-parts";
flake-to-gitlab-ci.url = "git+https://gitlab.nixica.dev/haskell/flake-to-gitlab-ci?ref=refs/tags/0.2.4.2";
horizon-gen-nix.url = "git+https://gitlab.horizon-haskell.net/haskell/horizon-gen-nix?ref=refs/tags/0.11.0";
horizon-shell.url = "git+https://gitlab.horizon-haskell.net/shells/horizon-shell?ref=refs/tags/0.0.9";
horizon-develop-flake.url = "git+https://gitlab.horizon-haskell.net/nix/horizon-develop-flake";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs =
inputs@
{ self
, flake-parts
, nixpkgs
, ...
}:
flake-parts.lib.mkFlake { inherit inputs; }
{
systems = [
"aarch64-darwin"
"x86_64-darwin"
"x86_64-linux"
];
perSystem = { system, ... }:
let
feedback-app = {
type = "app";
program = "${inputs.feedback.packages.${system}.default}/bin/feedback";
};
in
{
apps = {
feedback = feedback-app;
flake-to-gitlab-ci = inputs.flake-to-gitlab-ci.apps.${system}.default;
horizon-gen-nix = inputs.horizon-gen-nix.apps.${system}.default;
horizon-shell = inputs.horizon-shell.apps.${system}.default;
};
};
imports = [
inputs.horizon-develop-flake.flakeModule
];
};
}
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