Skip to content

Commit

Permalink
Use spec from hydra-formal-specification (#1548)
Browse files Browse the repository at this point in the history
  • Loading branch information
ch1bo authored Aug 7, 2024
2 parents 84c9368 + 8245e1e commit 7e5730b
Show file tree
Hide file tree
Showing 39 changed files with 96 additions and 6,013 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
2 changes: 1 addition & 1 deletion docs/docs/dev/specification.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Specification

The specification is currently written in LaTeX and can be [edited](https://github.com/cardano-scaling/hydra/tree/master/spec) in the Hydra repository. You can view the rendered version below or download it for fullscreen viewing [here](/hydra-spec.pdf).
The specification is currently written in LaTeX and can be [edited](https://github.com/cardano-scaling/hydra-formal-specification) in the hydra-formal-specification repository. You can view the rendered version below or download it for fullscreen viewing [here](/hydra-spec.pdf).

import HydraSpecUrl from '@site/static/hydra-spec.pdf';

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 @@ -3,6 +3,7 @@
nixpkgs.follows = "haskellNix/nixpkgs";
nixpkgsLatest.url = "github:NixOS/nixpkgs/nixos-24.05";
haskellNix.url = "github:input-output-hk/haskell.nix";
hydra-spec.url = "github:cardano-scaling/hydra-formal-specification";
iohk-nix.url = "github:input-output-hk/iohk-nix";
flake-parts.url = "github:hercules-ci/flake-parts";
process-compose-flake.url = "github:Platonic-Systems/process-compose-flake";
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 7e5730b

Please sign in to comment.