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

support nixos 22.05 + remove bud and misleading onboarding docs (via #477) #476

Merged
merged 8 commits into from
Jul 10, 2022

Conversation

montchr
Copy link
Collaborator

@montchr montchr commented Jul 9, 2022

22.05 is the current version of NixOS, so we should update digga to match.

fixes #475

@montchr montchr changed the title update inputs to track 22.05 release channels support nixos 22.05 Jul 9, 2022
@montchr
Copy link
Collaborator Author

montchr commented Jul 9, 2022

currently failing checks in devos:

...
warning: flake output attribute 'devShell' is deprecated; use 'devShells.<system>.default' instead
error: Package ‘btrfs-progs-5.17’ in /nix/store/rk75azx537h33ddmna2hvmb2l4fhw5r0-source/pkgs/tools/filesystems/btrfs-progs/default.nix:60 is not supported on ‘x86_64-darwin’, refusing to evaluate.

       a) To temporarily allow packages that are unsupported for this system, you can use an environment variable
          for a single invocation of the nix tools.

            $ export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1

        Note: For `nix shell`, `nix build`, `nix develop` or any other Nix 2.4+
        (Flake) command, `--impure` must be passed in order to read this
        environment variable.

       b) For `nixos-rebuild` you can set
         { nixpkgs.config.allowUnsupportedSystem = true; }
       in configuration.nix to override this.

       c) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
         { allowUnsupportedSystem = true; }
       to ~/.config/nixpkgs/config.nix.
(use '--show-trace' to show detailed location information)
rm 'examples/devos/flake.lock'
exit 1: command [/nix/store/lsl7mwsi2ag0170gkfhgppfz1bxha696-nix-2.9.1/bin/nix flake check "$@"] failed

@montchr montchr self-assigned this Jul 9, 2022
@montchr
Copy link
Collaborator Author

montchr commented Jul 9, 2022

welp, it looks like the fix is removing bud. disabling its nixos and devshell modules allowed the checks to complete successfully.

montchr added 5 commits July 9, 2022 16:24
This has been planned for some time.

It seems necessary to do so now because after updating inputs to track
NixOS 22.05 channels and releases, checks fail unexpectedly, with the
traces leading back to `bud`. Disabling its modules allows checks to
run successfully.

Rather than figuring out what's going wrong with `bud`, it seems more
appropriate to remove it as planned.
Many many people have complained about the misleading documentation.
Rather than continuing the path of "we need to fix this", we can reduce
the harmful effects of the inaccurate docs by removing them all
together.

Since much of the confusion in the "getting started" docs came from
`bud`-specific instructions, and `bud` is being removed, removing the
inaccurate docs also seems like it can be a kick towards replacing them.

Also:

- The NixOS manual is the canonical guide to installation. We don't need
to repeat its instructions.
- The numerous references to networking configuration don't have a place
within Digga -- I'm assuming these are `bud`-specific things which are
no longer relevant with `bud` gone.
@montchr
Copy link
Collaborator Author

montchr commented Jul 9, 2022

now depends on #477

remove bud and misleading onboarding docs
@montchr montchr changed the title support nixos 22.05 support nixos 22.05 + remove bud and misleading onboarding docs (via #477) Jul 10, 2022
@montchr montchr merged commit 2248d3c into main Jul 10, 2022
@montchr montchr deleted the update-inputs-22.05 branch July 10, 2022 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

groupByConfig@main fails check due to insecure python3.9-poetry-1.1.12
1 participant