stylix
stylix copied to clipboard
`nix-on-droid` example not working
I encountered
Failed assertions:
- In a flake setup, the options nixpkgs.* should not be used. Instead, rely on the provided flake outputs and pass in the necessary nixpkgs object.
that seems to originate from https://github.com/nix-community/nix-on-droid/blob/27696cac81d4444319bb9158037b0da45e213f5e/modules/default.nix#L25
Steps to reproduce
- Copy the contents of https://nix-community.github.io/stylix/installation.html#nix-on-droid into
flake.nix - Copy the contents of https://github.com/nix-community/nix-on-droid/blob/master/templates/minimal/nix-on-droid.nix into
nix-on-droid.nix - Run
nix-on-droid build --flake .The above assertion is thrown. - Rewove the line
stylix.nixOnDroidModules.stylixinflake.nix - Repeat step 3. The build is successful.
cc @brckd
setting config.stylix.overlays.enable to false should fix this, but that should probably be documented.
Noted! I'm currently on vacation, but I'll come back to this in a week.