From 2e22e4ad70ea47ad9642e9232329d28a3342b928 Mon Sep 17 00:00:00 2001 From: Cassie Cheung Date: Sun, 3 Nov 2024 00:51:41 +0800 Subject: [PATCH] tests: fix unused importPath in unfreeNixpkgs function * originally importPath in the unfreeNixpkgs function was not used at all. this commit fixes the issue, allowing the function to work as intended. --- tests/flake.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/flake.nix b/tests/flake.nix index a00f0f2..2e65b84 100644 --- a/tests/flake.nix +++ b/tests/flake.nix @@ -62,7 +62,7 @@ unfreeNixpkgs = importPath: - import inputs.nixos-unstable-small { + import importPath { config = { allowBroken = true; allowUnfree = true; @@ -71,7 +71,7 @@ overlays = [ ]; inherit system; }; - nixpkgsUnstable = unfreeNixpkgs inputs'.nixos-unstable-small; + nixpkgsUnstable = unfreeNixpkgs inputs.nixos-unstable-small; nixpkgsStable = unfreeNixpkgs inputs.nixos-stable; checksForNixpkgs =