mirror of
https://github.com/nix-community/home-manager
synced 2024-12-27 04:09:47 +01:00
14 lines
272 B
Nix
14 lines
272 B
Nix
{ config, ... }:
|
|
|
|
{
|
|
nix = {
|
|
package = config.lib.test.mkStubPackage { };
|
|
nixPath = [ "/a" "/b/c" ];
|
|
keepOldNixPath = false;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContains home-path/etc/profile.d/hm-session-vars.sh \
|
|
'export NIX_PATH="/a:/b/c"'
|
|
'';
|
|
}
|