diff --git a/maintainers/flake-module.nix b/maintainers/flake-module.nix index 83891daa2..8dcff9c63 100644 --- a/maintainers/flake-module.nix +++ b/maintainers/flake-module.nix @@ -104,10 +104,6 @@ }; shellcheck = { enable = true; - excludes = [ - # We haven't linted these files yet - ''^tests/functional/why-depends\.sh$'' - ]; }; }; }; diff --git a/tests/functional/why-depends.sh b/tests/functional/why-depends.sh index 45d1f2f0b..fe9ff9a62 100755 --- a/tests/functional/why-depends.sh +++ b/tests/functional/why-depends.sh @@ -4,9 +4,9 @@ source common.sh clearStoreIfPossible -cp ./dependencies.nix ./dependencies.builder0.sh "${config_nix}" $TEST_HOME +cp ./dependencies.nix ./dependencies.builder0.sh "${config_nix}" "$TEST_HOME" -cd $TEST_HOME +cd "$TEST_HOME" nix why-depends --derivation --file ./dependencies.nix input2_drv input1_drv nix why-depends --file ./dependencies.nix input2_drv input1_drv