cardinal: fix cross-compilation
This commit is contained in:
parent
1a32ccd82f
commit
58dba3b4da
@ -69,7 +69,9 @@ stdenv.mkDerivation rec {
|
|||||||
];
|
];
|
||||||
|
|
||||||
hardeningDisable = [ "format" ];
|
hardeningDisable = [ "format" ];
|
||||||
makeFlags = lib.optional headless "HEADLESS=true" ++ [ "SYSDEPS=true" "PREFIX=$(out)" ];
|
makeFlags = [ "SYSDEPS=true" "PREFIX=$(out)" ]
|
||||||
|
++ lib.optional (stdenv.hostPlatform != stdenv.buildPlatform) "CROSS_COMPILING=true"
|
||||||
|
++ lib.optional headless "HEADLESS=true";
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
wrapProgram $out/bin/Cardinal \
|
wrapProgram $out/bin/Cardinal \
|
||||||
|
Loading…
Reference in New Issue
Block a user