cardinal: add headless argument (#357100)
This commit is contained in:
commit
f8b656d071
@ -22,6 +22,7 @@
|
||||
, python3
|
||||
, speexdsp
|
||||
, libglvnd
|
||||
, headless ? false
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
@ -68,7 +69,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
makeFlags = [ "SYSDEPS=true" "PREFIX=$(out)" ];
|
||||
makeFlags = lib.optional headless "HEADLESS=true" ++ [ "SYSDEPS=true" "PREFIX=$(out)" ];
|
||||
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/Cardinal \
|
||||
|
Loading…
Reference in New Issue
Block a user