diff --git a/.github/workflows/call-nix.yml b/.github/workflows/call-nix.yml index 244636ed..97608d42 100644 --- a/.github/workflows/call-nix.yml +++ b/.github/workflows/call-nix.yml @@ -15,8 +15,10 @@ jobs: - uses: DeterminateSystems/magic-nix-cache-action@main - name: Check Nix flake inputs uses: DeterminateSystems/flake-checker-action@v4 - - name: Build executable + - name: Build executable for hsec-tools run: nix -L build + - name: Build executable for hsec-cabal + run: nix -L build .#hsec-cabal - name: Build docker image run: nix build -L '.#packages.x86_64-linux.hsec-tools-image' - run: mkdir -p ~/.local/dockerImages diff --git a/code/hsec-cabal/hsec-cabal.cabal b/code/hsec-cabal/hsec-cabal.cabal index 6dbe9f02..c5783791 100644 --- a/code/hsec-cabal/hsec-cabal.cabal +++ b/code/hsec-cabal/hsec-cabal.cabal @@ -20,7 +20,7 @@ maintainer: contact@mangoiv.com -- A copyright notice. -- copyright: category: Data -extra-doc-files: CHANGELOG.md +extra-doc-files: extra-source-files: tested-with: GHC ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.3 || ==9.8.1 diff --git a/flake.nix b/flake.nix index feaeea9f..6fdb0edb 100644 --- a/flake.nix +++ b/flake.nix @@ -32,7 +32,9 @@ }; }; haskellProjects.default = { - packages = { }; + packages = { + Cabal-syntax.source = "3.10.2.0"; + }; settings = { }; projectRoot = ./code; devShell.mkShellArgs.shellHook = config.pre-commit.installationScript;