Skip to content

Commit

Permalink
use haskell-flake
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbecich committed Jan 7, 2024
1 parent d34b3b4 commit a557b8c
Show file tree
Hide file tree
Showing 5 changed files with 350 additions and 1,045 deletions.
29 changes: 9 additions & 20 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,15 @@
name: "Nix Flake Build"
name: "Nix Flake"
on:
push:
branches: '**'
pull_request:
paths-ignore: []

push:
jobs:
tests:
timeout-minutes: 300
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
# https://github.com/marketplace/actions/install-nix
- name: Install Nix
uses: cachix/install-nix-action@20
with:
extra_nix_config: |
trusted-public-keys = hydra.iohk.io:f/Ea+s+dFdN+3Y/G+FDgSq+a5NEWhJGzdjvKNGv0/EQ= cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
substituters = https://hydra.iohk.io https://cache.nixos.org/
allow-import-from-derivation = true
keep-outputs = true
keep-derivations = true
accept-flake-config = true
- run: nix build
- run: nix flake check
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: "Check `nix develop` shell"
run: nix develop --check
- run: nix build
- run: nix flake check
13 changes: 6 additions & 7 deletions cabal.project
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
packages: .

source-repository-package
type: git
location: https://github.com/eskimor/purescript-bridge.git
tag: 793cd8206ae777dd8f77245c1c8dbeb597c7828f
--sha256: 1sf9nhwfasxa46827p9gjmq244fz6hzjcvmkczf0d71ih3fz7cds
packages:
.

-- source-repository-package
-- type: git
-- location: https://github.com/eskimor/purescript-bridge.git
-- tag: 793cd8206ae777dd8f77245c1c8dbeb597c7828f
2 changes: 0 additions & 2 deletions cabal.project.freeze

This file was deleted.

Loading

0 comments on commit a557b8c

Please sign in to comment.