Skip to content
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

basic devshell with clang: error: The option 'language.c.__ignoreNulls' does not exist #256

Open
ppenguin opened this issue Apr 28, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@ppenguin
Copy link

Describe the bug

When building a (pretty basic) devshell that has language.c = pkgs.clang (or similar) defined,
I get an error: The option 'language.c.__ignoreNulls' does not exist

To Reproduce

Steps to reproduce the behavior:

  1. Make the following devshell definition in the flake.nix instantiated from the devshell template:
         pkgs.devshell.mkShell {
           # imports = [ (pkgs.devshell.importTOML ./devshell.toml) ];
           imports = [ "${devshell}/extra/language/c.nix" ];
           name = "flutter";
           language.c = pkgs.llvmPackages_15.clangUseLLVM;
           packages = [ pkgs.flutter ];
         };
    
  2. Observe the error:
       direnv: loading ~/devel/playgnd/flutter/devshelltst/.envrc                                         
       direnv: using flake --show-trace
       error: The option `language.c.__ignoreNulls' does not exist. Definition values:
          - In `<unknown-file>': true
    

Expected behavior

To get a flutter devshell with a clang c++ env.

System information

nixos amd64

Additional context

@ppenguin ppenguin added the bug Something isn't working label Apr 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant