mirror of
https://github.com/nix-community/home-manager
synced 2024-12-26 11:49:47 +01:00
17 lines
308 B
Nix
17 lines
308 B
Nix
|
{ config, ... }:
|
||
|
|
||
|
{
|
||
|
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"'
|
||
|
'';
|
||
|
};
|
||
|
}
|