Commit graph

7 commits

Author SHA1 Message Date
Alex Hamilton
c10f60d007 Migrate homeManagerModules uses to homeModules 2025-05-25 12:41:12 -04:00
Matt Sturgeon
7790746d38
modules/nixpkgs: add useGlobalPackages option 2025-01-17 10:16:09 +00:00
Matt Sturgeon
912841c1a7
modules/nixpkgs: construct an instance of nixpkgs.source 2025-01-17 09:37:03 +00:00
Matt Sturgeon
d4c67764a7
tests/nixpkgs-module: only import the minimal modules for test
Instead of importing the full set of top-level nixvim modules, only
import the nixpkgs-module and its direct dependencies.
2025-01-16 02:55:01 +00:00
Matt Sturgeon
e13b2a5129
tests/nixpkgs-module: split up helper fn 2025-01-16 02:55:01 +00:00
Matt Sturgeon
5192a85f32
test/nixpkgs-module: use a fixed runCommand function
Rather than getting `runCommand` from the pkgs instance under test, get
the function from a fixed/consistent pkgs instance.
2025-01-16 02:55:01 +00:00
Matt Sturgeon
5b068e7f8f
tests/nixpkgs: move nixpkgs module test to dedicated drv
This should be separate from `test-sources` because we want to re-use a
common instance of nixpkgs throughout those tests.

Also, moved the existing nixpkgs module test from `test-sources`.

This partially reverts commit c4ad4d0b2e.
2025-01-15 18:04:06 +00:00
Renamed from tests/test-sources/modules/nixpkgs.nix (Browse further)