Conversation
|
Yes, we are using flakes here |
|
This was requested by @elland to make using hs-run easier (it uses flakes). |
|
I guess if you get stuck, it would be better to remove it from the envrc altogether and load it only on demand? |
|
There's a single occurence in the @elland could you (and everyone invoking |
|
I think it's easier to not have it automatically load in |
|
Good point, lemme just update this PR to change the shebang. |
|
@flokli do you have some special setup that flakes feature makes you get stuck? I don't think it should have any effect as long as it's not used... |
There's nothing in this repository using flakes, and setting this causes my system to just block entirely: ``` ❯ cd dev/wire/wire-server direnv: error /home/flokli/dev/wire/wire-server/.envrc is blocked. Run `direnv allow` to approve its content ❯ direnv allow direnv: loading ~/dev/wire/wire-server/.envrc 🔧 Building environment warning: unknown experimental feature 'flakes' warning: unknown experimental feature 'flakes' ⏱ 4sdirenv: ([/nix/store/0lf6mkfaqx4zmsni9yys650qx573zfcw-direnv-2.33.0/bin/direnv export zsh]) is taking a while to execute. Use CTRL-C to give up. ⏱ 8s^C ^C^X^C^C^C ```
|
I assume Nix behaves a bit stupidly if it encounters an experimental feature it doesn't know about, or nom does, but yes, I do have some patches, and my Nix doesn't know about the However, I also think we should only be adding stuff we actually need. I moved the invocation to the shebang in I'd argue this script could also be rewritten in bash, saving us a bunch of startup to evaluate nixpkgs, compile the binary and haskell interpreter. The only thing it does is invoking |
|
yeah, the script is a proof of concept. |
|
closing in favor of #3778. |
There's nothing in this repository using flakes, and setting this causes my system to just block entirely:
Checklist
changelog.d