mirror of
https://github.com/nix-community/home-manager
synced 2024-11-17 08:39:44 +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"'
|
||
|
'';
|
||
|
};
|
||
|
}
|