mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 11:39:46 +01:00
tests: remove package dependencies on rofi and abook
This commit is contained in:
parent
1a4c10e950
commit
faa2945606
3 changed files with 10 additions and 1 deletions
|
@ -6,6 +6,9 @@ with lib;
|
|||
config = {
|
||||
programs.abook.enable = true;
|
||||
|
||||
nixpkgs.overlays =
|
||||
[ (self: super: { abook = pkgs.writeScriptBin "dummy-abook" ""; }) ];
|
||||
|
||||
nmt.script = ''
|
||||
assertPathNotExists home-files/.config/abook/abookrc
|
||||
'';
|
||||
|
|
|
@ -28,6 +28,9 @@ with lib;
|
|||
'';
|
||||
};
|
||||
|
||||
nixpkgs.overlays =
|
||||
[ (self: super: { abook = pkgs.writeScriptBin "dummy-abook" ""; }) ];
|
||||
|
||||
nmt.script = ''
|
||||
assertFileExists home-files/.config/abook/abookrc
|
||||
assertFileContent home-files/.config/abook/abookrc ${./with-settings.cfg}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, lib, ... }:
|
||||
{ config, lib, pkgs, ... }:
|
||||
|
||||
with lib;
|
||||
|
||||
|
@ -20,6 +20,9 @@ with lib;
|
|||
home.file.result.text = builtins.toJSON
|
||||
(map (a: a.message) (filter (a: !a.assertion) config.assertions));
|
||||
|
||||
nixpkgs.overlays =
|
||||
[ (self: super: { rofi = pkgs.writeScriptBin "dummy-rofi" ""; }) ];
|
||||
|
||||
nmt.script = ''
|
||||
assertFileContent \
|
||||
home-files/result \
|
||||
|
|
Loading…
Reference in a new issue