You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the moment nixpkgs uses dontCheck for hnix due to some tests requiring network access.
-- From https://github.com/input-output-hk/ouroboros-network--| Infer from environment variables whether we are running within a Nix build-- (and not just a nix-shell).inNixBuild::IOBool
inNixBuild =dolet testEnv =fmap (maybeFalse (not.null)) .System.Environment.lookupEnv
haveNixBuildDir <- testEnv "NIX_BUILD_TOP"
inNixShell <- testEnv "IN_NIX_SHELL"pure (haveNixBuildDir &¬ inNixShell)
Something like this can be used to determine when to gate such tests.
The text was updated successfully, but these errors were encountered:
At the moment nixpkgs uses
dontCheck
for hnix due to some tests requiring network access.Something like this can be used to determine when to gate such tests.
The text was updated successfully, but these errors were encountered: