Skip to content

Commit

Permalink
imp: add flake-arch input for systems parameterization
Browse files Browse the repository at this point in the history
  • Loading branch information
johnalotoski committed Aug 10, 2022
1 parent 09ede30 commit 0de3dfd
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
16 changes: 16 additions & 0 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions flake.nix
Expand Up @@ -4,6 +4,7 @@
std.url = "github:divnix/std";
n2c.url = "github:nlewo/nix2container";
data-merge.url = "github:divnix/data-merge";
flake-arch.url = "github:johnalotoski/flake-arch";
# --- Bitte Stack ----------------------------------------------
bitte.url = "github:input-output-hk/bitte/bitte-tests";
# bitte.url = "path:/home/jlotoski/work/iohk/bitte-wt/bitte-tests";
Expand Down Expand Up @@ -45,6 +46,7 @@
(inputs.std.growOn
{
inherit inputs;
inherit (inputs.flake-arch) systems;
cellsFrom = ./nix;
# debug = ["cells" "cloud" "nomadEnvs"];
organelles = [
Expand Down
4 changes: 2 additions & 2 deletions nix/automation/pipelines.nix
Expand Up @@ -34,8 +34,8 @@ in {

config = {
command.text = ''
echo "Running flake check on ${flakeUrl args}"
nix flake check --allow-import-from-derivation ${flakeUrl args}
nix flake show ${flakeUrl args} --allow-import-from-derivation --override-input flake-arch github:input-output-hk/flake-arch/x86_64-linux
nix flake check ${flakeUrl args} --allow-import-from-derivation --override-input flake-arch github:input-output-hk/flake-arch/x86_64-linux
'';

preset.github-ci.clone = true;
Expand Down

0 comments on commit 0de3dfd

Please sign in to comment.