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

Fix evaluation warning about routeConfig on umbriel #589

Merged
merged 1 commit into from
Mar 13, 2025

Conversation

jfly
Copy link
Contributor

@jfly jfly commented Mar 13, 2025

Before:

$ nix eval .#nixosConfigurations.umbriel.config.system.build.toplevel
evaluation warning: Using 'routeConfig' is deprecated! Move all attributes inside one level up and remove it.
evaluation warning: Using 'routeConfig' is deprecated! Move all attributes inside one level up and remove it.
«derivation /nix/store/yp4hjn03fw471l7nz2c0h26vhxjgyx4k-nixos-system-umbriel-24.11.20250308.52e3095.drv»

After:

$ nix eval .#nixosConfigurations.umbriel.config.system.build.toplevel
warning: Git tree '/home/jeremy/src/github.com/NixOS/infra' is dirty
«derivation /nix/store/yp4hjn03fw471l7nz2c0h26vhxjgyx4k-nixos-system-umbriel-24.11.20250308.52e3095.drv»

Before:

```console
$ nix eval .#nixosConfigurations.umbriel.config.system.build.toplevel
evaluation warning: Using 'routeConfig' is deprecated! Move all attributes inside one level up and remove it.
evaluation warning: Using 'routeConfig' is deprecated! Move all attributes inside one level up and remove it.
«derivation /nix/store/yp4hjn03fw471l7nz2c0h26vhxjgyx4k-nixos-system-umbriel-24.11.20250308.52e3095.drv»
```
After:

```console
$ nix eval .#nixosConfigurations.umbriel.config.system.build.toplevel
warning: Git tree '/home/jeremy/src/github.com/NixOS/infra' is dirty
«derivation /nix/store/yp4hjn03fw471l7nz2c0h26vhxjgyx4k-nixos-system-umbriel-24.11.20250308.52e3095.drv»
```
@jfly jfly requested a review from a team March 13, 2025 19:29
@mweinelt mweinelt enabled auto-merge March 13, 2025 19:32
@mweinelt mweinelt merged commit 3a26517 into NixOS:main Mar 13, 2025
13 checks passed
@jfly jfly deleted the fix-umbriel-warning branch March 13, 2025 19:36
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.

2 participants