Closed blaggacao closed 2 years ago
It's just vanity: (and boldness :smile:)
l.mapAttrs (_: devshell.legacyPackages.mkShell) {
default = { extraModulesPath, pkgs, ... }: { /* ... */ };
}
-->
l.mapAttrs (_: devshell.mkShell) {
default = { extraModulesPath, pkgs, ... }: { /* ... */ };
}
Isn't this going to pollute the nix flake check
output?
Oh absolutely. It upfront challenges the fixed schema authority of the nix
CLI, alltogether.
The current flake schema is use-case skewed and is a hinderance in unleaching the full potential of nix
flakes.
Think about the immense amount of context tucked away behind the legacyPackages
identifier. :smile:
Thanks for clarifying. I agree that the current flake output schema is missing a bunch of attributes, but not that we should therefore abandon all classification like that.
when
deSystemized
allows for immediate usage of devshell:devshell.mkShell
instead of going via the outside of a nixpkgs world completely confusing and non-sensicallegacyPackages
.However, ideally, the system scope would be the first argument.
deSystemize
for "super simple flake" experience: https://github.com/divnix/std/blob/main/src/de-systemize.nix