Skip to content

Commit

Permalink
Move hydra-spec to input repository (#1512)
Browse files Browse the repository at this point in the history
  • Loading branch information
locallycompact authored Jul 31, 2024
1 parent f86515c commit b391020
Show file tree
Hide file tree
Showing 36 changed files with 95 additions and 5,804 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci-nix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -276,14 +276,14 @@ jobs:

- name: ❄ Build specification PDF
run: |
nix build .#spec && cp result/*.pdf spec/
nix build .#spec && cp result/*.pdf .
- name: 💾 Upload specification
uses: actions/upload-artifact@v4
with:
name: hydra-spec
path: |
./spec/*.pdf
*.pdf
documentation:
name: Documentation
Expand Down
100 changes: 91 additions & 9 deletions flake.lock

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

5 changes: 2 additions & 3 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
cardano-node.url = "github:intersectmbo/cardano-node/9.1.0";
mithril.url = "github:input-output-hk/mithril/2428.0";
nix-npm-buildpackage.url = "github:serokell/nix-npm-buildpackage";
hydra-spec.url = "github:cardano-scaling/hydra-formal-specification";
};

outputs =
Expand Down Expand Up @@ -130,9 +131,7 @@
packages =
hydraPackages //
(if pkgs.stdenv.isLinux then (prefixAttrs "docker-" hydraImages) else { }) // {
spec = import ./spec {
inherit pkgs;
};
spec = inputs.hydra-spec.packages.${system}.default;
};
process-compose."demo" = import ./nix/hydra/demo.nix {
inherit system pkgs inputs self;
Expand Down
1 change: 0 additions & 1 deletion spec/.envrc

This file was deleted.

3 changes: 0 additions & 3 deletions spec/.gitignore

This file was deleted.

27 changes: 0 additions & 27 deletions spec/README.md

This file was deleted.

Loading

0 comments on commit b391020

Please sign in to comment.