Skip to content

Commit a4b19f0

Browse files
committed
nix: use flake self source for buildGoModule
1 parent 38d8121 commit a4b19f0

2 files changed

Lines changed: 5 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
### Changed
11+
12+
- **Nix Flake Source Handling**: `flake.nix` now uses `src = self` for `buildGoModule` to reduce repeated source copying and improve local `nix build`/`nix run` performance.
13+
1014
## [1.0.17] - 2026-02-01
1115

1216
### Added

flake.nix

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
pname = "pvetui";
1616
version = if (self ? rev) then self.shortRev else "dev";
1717

18-
src = ./.;
18+
src = self;
1919

2020
vendorHash = "sha256-+ifWs9gYBWAe2z8sGQ+jy2Bw1HIaAI9WoATlsQAeMXM=";
2121

0 commit comments

Comments
 (0)