devenv icon indicating copy to clipboard operation
devenv copied to clipboard

allowUnfree not being imported via devenv.yaml imports

Open vHanda opened this issue 1 year ago • 1 comments

Hi. I have a common configuration which I'm hoping to get more people in my current company to use. It's in a common git repo, and each of us has our own devenv environment created via 'devenv init'.

In the YAML of the personal devenv environment, we have have imported that common configuration -

imports:
  - ./devops/devenv

This common configuration has allowUnfree: true set in the common devenv.yaml file. Unfortunately, the unfree packages (ngrok for example) still don't build unless every person adds 'allowUnfree: true` to their personal devenv.nix configuration.

Version

devenv 1.0.5 (x86_64-linux)

vHanda avatar May 30 '24 08:05 vHanda

At this time, devenv does not support composition of devenv.yaml files. See:

  • This issue: https://github.com/cachix/devenv/issues/14
  • The note on this page: https://devenv.sh/composing-using-imports/

euphemism avatar May 31 '24 18:05 euphemism

Closing in favor of #14

domenkozar avatar May 15 '25 08:05 domenkozar