Skip to content

Commit f8b656d

Browse files
cardinal: add headless argument (#357100)
2 parents f49c909 + 91726a7 commit f8b656d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkgs/by-name/ca/cardinal/package.nix

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
, python3
2323
, speexdsp
2424
, libglvnd
25+
, headless ? false
2526
}:
2627

2728
stdenv.mkDerivation rec {
@@ -68,7 +69,7 @@ stdenv.mkDerivation rec {
6869
];
6970

7071
hardeningDisable = [ "format" ];
71-
makeFlags = [ "SYSDEPS=true" "PREFIX=$(out)" ];
72+
makeFlags = lib.optional headless "HEADLESS=true" ++ [ "SYSDEPS=true" "PREFIX=$(out)" ];
7273

7374
postInstall = ''
7475
wrapProgram $out/bin/Cardinal \

0 commit comments

Comments
 (0)