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

update develop flake

parent edd7ceef
1 merge request!3Updates
Pipeline #3597 failed with stages
in 53 minutes and 27 seconds
This diff is collapsed.
...@@ -6,11 +6,8 @@ ...@@ -6,11 +6,8 @@
}; };
inputs = { inputs = {
feedback.url = "github:NorfairKing/feedback";
flake-parts.url = "github:hercules-ci/flake-parts"; 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-develop-flake.url = "git+https://gitlab.horizon-haskell.net/nix/horizon-develop-flake";
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";
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable"; nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
}; };
...@@ -24,38 +21,12 @@ ...@@ -24,38 +21,12 @@
flake-parts.lib.mkFlake { inherit inputs; } flake-parts.lib.mkFlake { inherit inputs; }
{ {
systems = [ systems = [
"aarch64-darwin"
"x86_64-darwin"
"x86_64-linux" "x86_64-linux"
]; ];
perSystem = { system, pkgs, ... }: imports = [
let inputs.horizon-develop-flake.flakeModule
feedback-app = { ];
type = "app";
program = "${inputs.feedback.packages.${system}.default}/bin/feedback";
};
test-template = pkgs.writers.writeBashBin "test-template" ''
mkdir temp
cd temp
nix flake init -t 'git+https://gitlab.horizon-haskell.net/templates/horizon-templates#minimal'
git init .
git add *
nix build github:srid/devour-flake -L --no-link --print-out-paths --override-input flake . --override-input flake/horizon-platform ../ --keep-going
cd ..
rm temp -rf
'';
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;
test-template = {
type = "app";
program = "${test-template}/bin/test-template";
};
};
};
}; };
} }
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