Skip to content

Commit

Permalink
docs: add more settings example
Browse files Browse the repository at this point in the history
A start at #171 (comment)
  • Loading branch information
srid authored Jun 28, 2023
1 parent 658dfcf commit 4217ce4
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doc/guide/dependency.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,17 @@ In Nix, it is possible to use an exact package built from an arbitrary source (G
};
settings = {
ema = { # This module can take `{self, super, ...}` args, optionally.
check = false;
check = false; # Disable running tests
haddock = false; # Disable building haddock documentation
jailbreak = true; # Ignore cabal constraints
patches = [ ./patches/ema-bug-fix.patch ];
cabalFlags.with-generics = true;
};
};
};
};
}
```
We use `check = false` here to disable running tests.
1. Re-run the nix shell (`nix develop`).
### [nixpkgs] functions
Expand Down

0 comments on commit 4217ce4

Please sign in to comment.