Skip to content

Commit

Permalink
Merge pull request #371 from ners/master
Browse files Browse the repository at this point in the history
Fix monad-schedule flake input
  • Loading branch information
turion authored Nov 15, 2024
2 parents 5f9f1a9 + ea8cc3b commit 2a4f7be
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 27 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,14 @@ jobs:
run: |
nix fmt
git diff --exit-code
- name: Flake check
run: nix flake check
- name: Build all packages
run: nix build --accept-flake-config
- name: Run tests
run: |
nix develop --accept-flake-config -c cabal update
nix develop --accept-flake-config -c cabal test all
# nix flake check breaks on IFD in multi-platform flake https://github.com/NixOS/nix/issues/4265
# - run: nix flake check
cabal-check:
name: Check and format all cabal files
Expand Down
34 changes: 10 additions & 24 deletions flake.lock

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

5 changes: 4 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable-small";
monad-schedule.url = "github:turion/monad-schedule";
monad-schedule = {
url = "github:turion/monad-schedule";
inputs.nixpkgs.follows = "nixpkgs";
};
};

outputs = inputs:
Expand Down

0 comments on commit 2a4f7be

Please sign in to comment.