Skip to content

Commit

Permalink
fix: use latest nvfetcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Moraxyc committed Dec 31, 2024
1 parent 6303d54 commit 16c51ba
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ jobs:
uses: cachix/install-nix-action@v30
with:
nix_path: nixpkgs=channel:nixos-unstable
extra_nix_config: |
trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=
substituters = https://cache.nixos.org/ https://cache.garnix.io
# - name: Show nixpkgs version
# run: nix-instantiate --eval -E '(import <nixpkgs> {}).lib.version'
- name: Setup cachix
Expand Down
2 changes: 1 addition & 1 deletion flake-modules/commands.nix
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ _: {
set -euo pipefail
KEY_FLAG=""
[ -f "secrets.toml" ] && KEY_FLAG="$KEY_FLAG -k secrets.toml"
${lib.getExe pkgs.nvfetcher} $KEY_FLAG -c nvfetcher.toml -o _sources "$@"
${inputs'.nvfetcher.packages.default}/bin/nvfetcher $KEY_FLAG --keep-going -c nvfetcher.toml -o _sources "$@"
'';
in
{
Expand Down
74 changes: 73 additions & 1 deletion flake.lock

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

5 changes: 5 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-24.11";
flake-parts.url = "github:hercules-ci/flake-parts";

nvfetcher = {
url = "github:berberman/nvfetcher";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs =
{
Expand Down

0 comments on commit 16c51ba

Please sign in to comment.