mirror of
https://github.com/haskell-nix/hnix.git
synced 2024-07-14 10:10:31 +03:00
hnix.cabal: drop data/nix/tests/local.mk from extra-source-files
This commit is contained in:
parent
ded3cc2cd5
commit
20f21f4816
@ -253,7 +253,6 @@ extra-source-files:
|
||||
data/nix/tests/lang/parse-okay-url.nix
|
||||
data/nix/tests/lang/readDir/bar
|
||||
data/nix/tests/lang/readDir/foo/git-hates-directories
|
||||
data/nix/tests/local.mk
|
||||
data/nixpkgs-all-packages.nix
|
||||
data/let-comments.nix
|
||||
data/let-comments-multiline.nix
|
||||
|
@ -34,12 +34,9 @@ import Test.Tasty.HUnit
|
||||
|
||||
ensureLangTestsPresent :: Assertion
|
||||
ensureLangTestsPresent = do
|
||||
exist <- fileExist "data/nix/tests/local.mk"
|
||||
exist <- fileExist "data/nix/tests/lang/eval-okay-if.nix"
|
||||
when (not exist) $
|
||||
errorWithoutStackTrace $ String.unlines
|
||||
[ "Directory data/nix does not have any files."
|
||||
, "Did you forget to run"
|
||||
<> " \"git submodule update --init --recursive\"?" ]
|
||||
errorWithoutStackTrace "Directory data/nix does not have any files."
|
||||
|
||||
ensureNixpkgsCanParse :: Assertion
|
||||
ensureNixpkgsCanParse =
|
||||
|
Loading…
Reference in New Issue
Block a user