Comments (5)
It seems like getDataDir
is some cabal
magic set at compile-time and that it is used before options are parsed, so it will take a bit of fiddling to be able to set it using a command-line option. An environment variable might be a good stopgap.
from herms.
This is a great idea! I played around with this a bit when first implementing datadir
, (I think it'd be great to just have a ~/.herms
directory), but I also realized that there's some shadowy arcane machinations behind the scenes that make it a little more difficult than anticipated. I'll add it to the requested feature list!
from herms.
@JackKiefer Thanks. I plan to implement an environment variable soon.
from herms.
Another way forward (with other benefits) would be XDG compliance. We already import directory
, which provides getXdgDirectory
. This would obviate ad-hoc environment variable parsing overriding defaults, etc. since the user can just change their XDG_*
variables.
from herms.
Closed in #65
from herms.
Related Issues (20)
- Current NixOS build is broken (both nix build and nixified stack) HOT 2
- Build with GHC 8.8, 8.10 HOT 1
- Don't require all fields in YAML recipes
- Allow integer quantities for ingredients HOT 2
- Autocomplete for Herms HOT 3
- Feature: Express dependencies between steps of the recipe
- Feature: Specify required equipment in recipes and config
- Feature idea: Import and export to common recipe formats HOT 2
- `nix build` fails HOT 3
- Add Hacktoberfest to repo topics
- Source code formatting with Ormolu
- Document the release process
- Migrate from Travis CI to Github Actions, improve CI generally HOT 2
- Upload v2.0 to Hackage
- Hosted documentation
- Feature: Render recipes to HTML HOT 1
- HTML export: Specify UTF-8 encoding
- Export to Org-mode
- Run GHC 9 in CI, drop GHC 8.4 HOT 2
- Recipe saving is broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from herms.