mirror of
https://github.com/nix-community/home-manager
synced 2024-11-30 15:09:46 +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"'
|
||
|
'';
|
||
|
};
|
||
|
}
|