-
-
Notifications
You must be signed in to change notification settings - Fork 304
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hledger sets nix enabled
to false by default
#712
Comments
I assume this affects http://hledger.org/download.html -> B, C but not A. |
I think it was added here, but there doesn't seem to be any discussion as to why |
IIRC, we set this to false so that the stack installer wouldn't default to using nix, but you could opt in. based on what @cdepillabout points out, I think it is safe to remove and just document that preferred approach:
|
What docs are needed ? What were the circumstances under which stack installer would default to using nix ? |
Maybe they are not needed. I think you need to have the nix enabled set to true in your per user stack config. Otherwise, you have to pass |
Ok, the current PR sounds good to me. Thanks! |
The
stack.yaml
file in the root of the repo setsnix.enabled
tofalse
.This makes builds on NixOS fail by default.
Normally, to use stack on NixOS, you add
nix.enabled
to~/.stack/config.yaml
. However, withnix.enabled
set tofalse
in hledger'sstack.yaml
, the settings in~/.stack/config.yaml
are ignored.Ideally,
nix.enabled
would not be set in hledger'sstack.yaml
file so thatstack
would fall back to thenix.enabled
setting specified in~/.stack/config.yaml
.The text was updated successfully, but these errors were encountered: