From c8223d89f9a73ef34612fd11f0b4cba6e29f7464 Mon Sep 17 00:00:00 2001 From: ibizaman Date: Thu, 24 Oct 2024 13:47:08 +0200 Subject: [PATCH] re-enable IFD tests --- .github/workflows/build.yaml | 3 +++ flake.nix | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 6025163e..c75f0ca7 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -3,5 +3,8 @@ on: push jobs: checks: uses: nixbuild/nixbuild-action/.github/workflows/ci-workflow.yml@v19 + with: + nix_conf: | + allow-import-from-derivation = true secrets: nixbuild_token: ${{ secrets.nixbuild_token }} diff --git a/flake.nix b/flake.nix index f29f802e..dd1b627d 100644 --- a/flake.nix +++ b/flake.nix @@ -104,17 +104,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)