Skip to content

Commit d57a6c1

Browse files
authored
freebsd.init: set mainProgram (NixOS#371715)
Signed-off-by: John Titor <[email protected]>
1 parent 5634f52 commit d57a6c1

File tree

1 file changed

+10
-2
lines changed
  • pkgs/os-specific/bsd/freebsd/pkgs

1 file changed

+10
-2
lines changed
Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
1-
{ mkDerivation, stdenv }:
1+
{
2+
mkDerivation,
3+
stdenv,
4+
lib,
5+
}:
26
mkDerivation {
37
path = "sbin/init";
48
extraPaths = [ "sbin/mount" ];
59
NO_FSCHG = "yes";
610
MK_TESTS = "no";
711

8-
meta.broken = !stdenv.hostPlatform.isStatic;
12+
meta = {
13+
broken = !stdenv.hostPlatform.isStatic;
14+
platforms = lib.platforms.freebsd;
15+
mainProgram = "init";
16+
};
917
}

0 commit comments

Comments
 (0)