diff options
| author | Mike Vink <59492084+ivi-vink@users.noreply.github.com> | 2025-01-16 22:22:34 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-16 22:22:34 +0100 |
| commit | 8e7bd91f353caacc0bc4105f573eb3e17f09e03a (patch) | |
| tree | c5059edcbebd9644290cad7c653c49a36d593021 /tests/services-nix-optimise.nix | |
| parent | 6bd39d420578aacf7c0bab7de3e7027b952115ae (diff) | |
| parent | bd921223ba7cdac346477d7ea5204d6f4736fcc6 (diff) | |
Diffstat (limited to 'tests/services-nix-optimise.nix')
| -rw-r--r-- | tests/services-nix-optimise.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/services-nix-optimise.nix b/tests/services-nix-optimise.nix index b0ecf18..4108eb0 100644 --- a/tests/services-nix-optimise.nix +++ b/tests/services-nix-optimise.nix @@ -1,7 +1,7 @@ { config, pkgs, ... }: let - nix = pkgs.runCommand "nix-2.2" {} "mkdir -p $out"; + nix = pkgs.runCommand "nix-2.2" { } "mkdir -p $out"; in { @@ -13,7 +13,7 @@ in echo checking nix-optimise service in /Library/LaunchDaemons >&2 grep "<string>org.nixos.nix-optimise</string>" \ ${config.out}/Library/LaunchDaemons/org.nixos.nix-optimise.plist - grep "<string>/bin/wait4path ${nix} && exec ${nix}/bin/nix-store --optimise</string>" \ + grep "<string>/bin/wait4path /nix/store && exec ${nix}/bin/nix-store --optimise</string>" \ ${config.out}/Library/LaunchDaemons/org.nixos.nix-optimise.plist grep "<key>UserName</key>" ${config.out}/Library/LaunchDaemons/org.nixos.nix-optimise.plist grep "<string>nixuser</string>" ${config.out}/Library/LaunchDaemons/org.nixos.nix-optimise.plist |
