mirror of
https://github.com/haskell-nix/hnix.git
synced 2024-08-15 18:00:50 +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/parse-okay-url.nix
|
||||||
data/nix/tests/lang/readDir/bar
|
data/nix/tests/lang/readDir/bar
|
||||||
data/nix/tests/lang/readDir/foo/git-hates-directories
|
data/nix/tests/lang/readDir/foo/git-hates-directories
|
||||||
data/nix/tests/local.mk
|
|
||||||
data/nixpkgs-all-packages.nix
|
data/nixpkgs-all-packages.nix
|
||||||
data/let-comments.nix
|
data/let-comments.nix
|
||||||
data/let-comments-multiline.nix
|
data/let-comments-multiline.nix
|
||||||
|
@ -34,12 +34,9 @@ import Test.Tasty.HUnit
|
|||||||
|
|
||||||
ensureLangTestsPresent :: Assertion
|
ensureLangTestsPresent :: Assertion
|
||||||
ensureLangTestsPresent = do
|
ensureLangTestsPresent = do
|
||||||
exist <- fileExist "data/nix/tests/local.mk"
|
exist <- fileExist "data/nix/tests/lang/eval-okay-if.nix"
|
||||||
when (not exist) $
|
when (not exist) $
|
||||||
errorWithoutStackTrace $ String.unlines
|
errorWithoutStackTrace "Directory data/nix does not have any files."
|
||||||
[ "Directory data/nix does not have any files."
|
|
||||||
, "Did you forget to run"
|
|
||||||
<> " \"git submodule update --init --recursive\"?" ]
|
|
||||||
|
|
||||||
ensureNixpkgsCanParse :: Assertion
|
ensureNixpkgsCanParse :: Assertion
|
||||||
ensureNixpkgsCanParse =
|
ensureNixpkgsCanParse =
|
||||||
|
Loading…
Reference in New Issue
Block a user