Jonas Chevalier

Results 1017 comments of Jonas Chevalier

It's something that has been on my mind for a while. It would be nice if treefmt itself could detect it, and then emit warning like "formatter XYZ violates rule...

Nice, thank you. One idea we had was that system-manager should expose enough NixOS-like stubs that it becomes possible to import modules from NixOS directly. The coverage isn't complete right...

It should work. Can you give me the output of `nix flake show` of your public flake?

We have [msdh](https://github.com/zimbatm/mdsh) who is quite close to this.

Right. We should generally try to be back-compat with the last release. We're also missing tests to catch regressions on older releases. For this specific issue, it's not urgent. We...

Yes sounds good! Happy to get a PR

The current workaround is to create a `modules/common/nixpkgs-unstable.nix` module. ```nix { inputs, pkgs, .... }: { _module.args.pkgsUnstable = import inputs.nixpkgs-unstable { inherit (pkgs) system; config.allowUnfree = true; }; } ```...

Not super precisely. There is a need for patching/overriding inputs. For this, we could add `inputs//default.nix` pattern that can be used to override said inputs. Details tbd. Then, there is...

Since then we also added the `perSystem` module argument that filters the flake input packages by the target system. Eg: ```nix { perSystem, ... }: { nix.package = perSystem.nixpkgs-unstable.nix; }...