diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6025163..22476b7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -3,5 +3,10 @@ on: push jobs: checks: uses: nixbuild/nixbuild-action/.github/workflows/ci-workflow.yml@v19 + with: + nix_conf: | + allow-import-from-derivation = true + filter_builds: | + '.top_attr == "checks" and .system == "x86_64-linux"' secrets: nixbuild_token: ${{ secrets.nixbuild_token }} diff --git a/flake.nix b/flake.nix index b5cf82c..4a83e42 100644 --- a/flake.nix +++ b/flake.nix @@ -103,17 +103,17 @@ ./test/modules/arr.nix ./test/modules/davfs.nix # TODO: Make this not use IFD - # ./test/modules/lib.nix + ./test/modules/lib.nix ./test/modules/nginx.nix ./test/modules/postgresql.nix ]); }; # TODO: Make this not use IFD - # lib = nix-flake-tests.lib.check { - # inherit pkgs; - # tests = pkgs.callPackage ./test/modules/lib.nix {}; - # }; + lib = nix-flake-tests.lib.check { + inherit pkgs; + tests = pkgs.callPackage ./test/modules/lib.nix {}; + }; } // (vm_test "arr" ./test/services/arr.nix) // (vm_test "audiobookshelf" ./test/services/audiobookshelf.nix)