Commit Graph

13 Commits

Author SHA1 Message Date
Sebastian Poxhofer 05e1271376 test: use expect().resolves instead of awaiting inside expect (#45672)
Enables the vitest/prefer-expect-resolves oxlint rule and applies its
autofix across the spec suite.
2026-09-04 10:40:46 +00:00
Sergei Zharinov 9d857c1f68 refactor(lint): Organize imports with biome (#40966) 2026-02-06 13:40:01 +00:00
Sergei Zharinov 930cf6633c refactor: Rewrite imports with .ts extensions (#40700)
fix: Additional vi.mock path corrections and prettier formatting
2026-01-26 22:48:17 +00:00
Trevor Allen c7eabc09c5 fix(nix): fix flake lock refresh (#37222)
* fix(nix): flake lock refresh

* fix(nix): handle nixpkgs upgrades with not explicit ref correct

* Remove fileMatch hack

* Force lock file updates for nix

* Support new lockable channel

as requested by @Mic92

* Fix lints

* Remove hack and set rangeStrategy instead

* Fix tests

* Add example comments

* Use codeBlock, inline fixtures

* Add test back which went missing while merging

* Simplify code

* Fix tests

* Fix undefined being displayed in dashboard

* revert: Fix undefined being displayed in dashboard

* fix(nix): use lockedVersion, fake confirmations and conditionally set currentValue

* test(nix): check for lockedVersion instead of currentDigest, remove rangeStrategy

* fix: only replace digest

* fix: make sure flake.nix contains new digest

* fix: replace deprecated update-input with flake update

* fix: update tests

* fix: only set lockedVersion for lockable tarballs, cleanup

* fix: don't use special versioning

* fix: get nixpkgs currentValue in tarballs

* test: fill in code coverage gaps

* test: fill in more code coverage gaps

* fix: use correct extract type

* test: improve code coverage

* test: explicitly check flakeLocked and flakeOriginal to see what isn't being covered

* fix: check both original and locked inputs for bad types

* test: add missing root

* Update lib/modules/manager/nix/extract.ts

Co-authored-by: Joshua Spence <josh@spence.com.au>

* Update lib/modules/manager/nix/extract.ts

Co-authored-by: Joshua Spence <josh@spence.com.au>

* fix: explicitly set log messages

* Update lib/modules/manager/nix/extract.ts

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>

* Update lib/modules/manager/nix/extract.ts

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>

* Update lib/modules/manager/nix/extract.ts

Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>

---------

Co-authored-by: Sandro Jäckel <sandro.jaeckel@gmail.com>
Co-authored-by: Joshua Spence <josh@spence.com.au>
Co-authored-by: RahulGautamSingh <rahultesnik@gmail.com>
2025-11-03 22:03:37 +00:00
Daniel Frankcom 0a2bbbcb61 fix(nix): add file input type to Nix schema (#37877) 2025-09-12 17:04:23 +00:00
Michael Kriese b22f5d86a7 test(nix): inline fixtures (#35391) 2025-04-15 14:26:41 +00:00
Tharaka De Silva 58e2e93509 fix(nix): add path input type to Nix schema (#35379) 2025-04-15 14:02:55 +00:00
xanderio 7aa1e47bfb fix(nix): urldecode gitlab subgroups (#34863) 2025-03-17 12:58:33 +00:00
Michael Kriese 19c115c813 test: cleanup (#34785) 2025-03-13 17:52:09 +00:00
Michael Kriese 997c23502e test: migrate to vitest (#34475)
Co-authored-by: HonkingGoose <34918129+HonkingGoose@users.noreply.github.com>
2025-02-26 09:35:54 +00:00
Sandro 441a30f8e0 feat(nix): rework to work with all flake inputs (#31921)
Co-authored-by: Rhys Arkins <rhys@arkins.net>
Co-authored-by: Michael Kriese <michael.kriese@gmx.de>
Co-authored-by: Mathieu Fenniak <mathieu@fenniak.net>
Co-authored-by: Mathieu Fenniak <biziqe@mathieu.fenniak.net>
2025-01-31 07:56:17 +00:00
Rhys Arkins 405ec17022 fix(nix): Allow nixpkgs with no ref (#25068) 2023-10-08 14:18:34 +01:00
Jamie Magee 44d953737d feat(manager/nix): add support for nix package manager (#18727)
Co-authored-by: Michael Kriese <michael.kriese@visualon.de>
2022-11-11 23:45:46 +00:00