Skip to content

Commit

Permalink
[fix] fix hsec-cabal nix build
Browse files Browse the repository at this point in the history
  • Loading branch information
MangoIV committed Feb 17, 2024
1 parent b6d99a7 commit 96ebb2f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/call-nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion code/hsec-cabal/hsec-cabal.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ maintainer: [email protected]
-- 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
Expand Down
4 changes: 3 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 96ebb2f

Please sign in to comment.