1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-11-08 19:46:05 +01:00

tests/nix-gc: reorganize darwin and linux

Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
This commit is contained in:
Austin Horstman 2025-06-22 21:41:50 -05:00
parent 7a64c02340
commit 41a5f0a98a
11 changed files with 9 additions and 10 deletions

View file

@ -1,6 +0,0 @@
{ lib, pkgs, ... }:
lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin {
nix-gc = ./basic.nix;
darwin-nix-gc-interval-assertion = ./darwin-nix-gc-interval-assertion.nix;
}

View file

@ -0,0 +1,4 @@
{
nix-gc = ./basic.nix;
nix-gc-interval-assertion = ./darwin-nix-gc-interval-assertion.nix;
}

View file

@ -1,5 +1,3 @@
{ lib, pkgs, ... }:
lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux {
nix-gc = ./basic.nix;
}
(lib.optionalAttrs pkgs.stdenv.hostPlatform.isDarwin (import ./darwin/default.nix))
// (lib.optionalAttrs pkgs.stdenv.hostPlatform.isLinux (import ./linux/default.nix))

View file

@ -0,0 +1,3 @@
{
nix-gc = ./basic.nix;
}