Skip to content

chore(nix): fix short path literals in flake.nix - #609

Merged
magnouvean merged 1 commit into
nix-community:trunkfrom
SigmaSquadron:push-opqlnxlvuroq
Jul 7, 2026
Merged

magnouvean merged 1 commit into
nix-community:trunkfrom
SigmaSquadron:push-opqlnxlvuroq

Conversation

@SigmaSquadron

Copy link
Copy Markdown
Contributor

Nix 2.34 includes a new option, lint-short-path-literals, which can be configured to warn or fail when a relative path is evaluated without the long-form ./ or ../ suffixes. Consistently using the suffixes is considered a best practice for code readability.

For more information, see https://nix.dev/manual/nix/2.34/command-ref/conf-file#conf-lint-short-path-literals.

Nix 2.34 includes a new option, lint-short-path-literals, which can be
configured to warn or fail when a relative path is evaluated without the
long-form `./` or `../` suffixes. Consistently using the suffixes is
considered a best practice for code readability.

For more information, see https://nix.dev/manual/nix/2.34/command-ref/conf-file#conf-lint-short-path-literals.

Signed-off-by: Fernando Rodrigues <alpha@sigmasquadron.net>
@SigmaSquadron SigmaSquadron changed the title chore(nix): fix short path literals in flake.nix chore(nix): fix short path literals in flake.nix May 14, 2026
@SigmaSquadron

Copy link
Copy Markdown
Contributor Author

The CI failure looks unrelated.

@magnouvean magnouvean left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cool!

@magnouvean
magnouvean merged commit 8a51497 into nix-community:trunk Jul 7, 2026
1 check failed
@SigmaSquadron
SigmaSquadron deleted the push-opqlnxlvuroq branch July 21, 2026 09:16
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