mirror of
https://github.com/Mic92/sops-nix.git
synced 2024-12-14 11:57:52 +00:00
fix eval of tests (#674)
This commit is contained in:
parent
0ec0d5d3c5
commit
472741cf3f
2 changed files with 5 additions and 5 deletions
|
@ -588,7 +588,7 @@ in
|
|||
|
||||
# must run before sops sets up keys
|
||||
systemd.services."sops-install-secrets-for-users".preStart = ''
|
||||
printf '${builtins.readFile testAssets + "/age-keys.txt"}' > /run/age-keys.txt
|
||||
printf '${builtins.readFile (testAssets + "/age-keys.txt")}' > /run/age-keys.txt
|
||||
chmod -R 700 /run/age-keys.txt
|
||||
'';
|
||||
}
|
||||
|
|
|
@ -93,12 +93,12 @@
|
|||
nixpkgs.lib.mapAttrs' (name: value: nixpkgs.lib.nameValuePair (name + version) value) attrs;
|
||||
suffix-stable = suffix-version "-24_05";
|
||||
in
|
||||
tests
|
||||
// (suffix-stable tests-stable)
|
||||
// (suffix-stable packages-stable)
|
||||
// {
|
||||
{
|
||||
home-manager = self.legacyPackages.${system}.homeConfigurations.sops.activation-script;
|
||||
}
|
||||
// (suffix-stable packages-stable)
|
||||
// nixpkgs.lib.optionalAttrs pkgs.stdenv.isLinux tests
|
||||
// nixpkgs.lib.optionalAttrs pkgs.stdenv.isLinux (suffix-stable tests-stable)
|
||||
// nixpkgs.lib.optionalAttrs pkgs.stdenv.isDarwin {
|
||||
darwin-sops =
|
||||
self.darwinConfigurations."sops-${pkgs.hostPlatform.darwinArch}".config.system.build.toplevel;
|
||||
|
|
Loading…
Reference in a new issue