quarto: fix passthru tests on darwin
This commit is contained in:
parent
ce5371f719
commit
c7fc9de18b
1 changed files with 4 additions and 1 deletions
|
@ -13,6 +13,7 @@
|
|||
, python3
|
||||
, quarto
|
||||
, extraPythonPackages ? ps: with ps; []
|
||||
, sysctl
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (final: {
|
||||
|
@ -64,7 +65,9 @@ stdenv.mkDerivation (final: {
|
|||
'';
|
||||
|
||||
passthru.tests = {
|
||||
quarto-check = runCommand "quarto-check" {} ''
|
||||
quarto-check = runCommand "quarto-check" {
|
||||
nativeBuildInputs = lib.optionals stdenv.isDarwin [ sysctl ];
|
||||
} ''
|
||||
export HOME="$(mktemp -d)"
|
||||
${quarto}/bin/quarto check
|
||||
touch $out
|
||||
|
|
Loading…
Reference in a new issue