nix: bump flake.lock, fix nitpick in drv, add .envrc#88
Open
es-sai-fi wants to merge 1 commit intoJayanAXHF:mainfrom
Open
nix: bump flake.lock, fix nitpick in drv, add .envrc#88es-sai-fi wants to merge 1 commit intoJayanAXHF:mainfrom
es-sai-fi wants to merge 1 commit intoJayanAXHF:mainfrom
Conversation
Contributor
Greptile SummaryThis PR makes three small, related improvements to the Nix packaging setup: it bumps the pinned
|
| Filename | Overview |
|---|---|
| .envrc | New direnv config that watches flake.lock and flake.nix and activates the Nix flake environment; standard and correct pattern for Nix flake projects. |
| flake.lock | Routine bump of the pinned nixpkgs revision (nixos-unstable) to a newer commit; narHash and lastModified updated consistently. |
| package.nix | Removes unnecessary top-level with lib; scope from the meta block; lib.licenses is still correctly referenced explicitly in the license line, so the change is safe. |
Flowchart
%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Developer enters project directory] --> B{direnv installed?}
B -- Yes --> C[.envrc is loaded automatically]
B -- No --> G[Manual: nix develop]
C --> D[watch_file flake.lock\nwatch_file flake.nix]
D --> E[use flake]
E --> F[Nix evaluates flake.nix\ndevShells.default via shell.nix]
F --> H[Dev environment activated\ntools & dependencies available]
G --> H
D --> I{flake.lock or flake.nix changed?}
I -- Yes --> C
Last reviewed commit: d42fa2d
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.