Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions .github/workflows/nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,15 @@ on:
branches: [master]
jobs:
nix-tests:
runs-on: ubuntu-latest
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: cachix/install-nix-action@v25
- uses: cachix/install-nix-action@v27
with:
github_access_token: ${{ secrets.GITHUB_TOKEN }}
nix_path: nixpkgs=channel:nixos-unstable
Expand All @@ -22,6 +27,7 @@ jobs:
cp -r ./result-doc/share/doc/nvfetcher-*/html/ docs

- name: Run spec tests
if: ${{ matrix.os != 'macos-latest' }}
run: |
nix develop --command cabal update
nix develop --command cabal test
Expand Down
2 changes: 1 addition & 1 deletion nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}:
mkDerivation {
pname = "nvfetcher";
version = "0.6.2.0";
version = "0.7.0.0";
src = ../.;
isLibrary = true;
isExecutable = true;
Expand Down
8 changes: 4 additions & 4 deletions nvfetcher_example.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ fetch.github = "lilydjwg/nvchecker"
src.git = "https://github.com/NixOS/nixpkgs"
fetch.tarball = "https://github.com/nixos/nixpkgs/archive/$ver.tar.gz"

[alpine]
src.container = "library/alpine"
src.include_regex = "3\\..*"
fetch.docker = "library/alpine"
# [alpine]
# src.container = "library/alpine"
# src.include_regex = "3\\..*"
# fetch.docker = "library/alpine"

# To demonstrate package key containing `.`
["submodule.example"]
Expand Down
Loading