Removed democlan dependency

This commit is contained in:
Qubasa
2023-12-09 00:19:30 +01:00
parent d4b8cef242
commit 136246de79
5 changed files with 22 additions and 251 deletions

View File

@@ -37,7 +37,7 @@
, clan-core-path
, writeShellScriptBin
, nodePackages
, democlan
, democlan ? null
}:
let
@@ -155,17 +155,17 @@ python3.pkgs.buildPythonApplication {
${checkPython}/bin/python -m pytest -m "not impure and with_core" -s ./tests
touch $out
'';
clan-pytest-with-democlan = runCommand "clan-pytest-with-democlan" { nativeBuildInputs = [ checkPython ] ++ pytestDependencies; } ''
cp -r ${source} ./src
chmod +w -R ./src
cd ./src
# clan-pytest-with-democlan = runCommand "clan-pytest-with-democlan" { nativeBuildInputs = [ checkPython ] ++ pytestDependencies; } ''
# cp -r ${source} ./src
# chmod +w -R ./src
# cd ./src
export DEMOCLAN_ROOT=${democlan}
export CLAN_CORE=${clan-core-path}
export NIX_STATE_DIR=$TMPDIR/nix IN_NIX_SANDBOX=1
${checkPython}/bin/python -m pytest -m "not impure and with_democlan" -s ./tests
touch $out
'';
# export DEMOCLAN_ROOT=${democlan}
# export CLAN_CORE=${clan-core-path}
# export NIX_STATE_DIR=$TMPDIR/nix IN_NIX_SANDBOX=1
# ${checkPython}/bin/python -m pytest -m "not impure and with_democlan" -s ./tests
# touch $out
# '';
clan-pytest = runCommand "clan-pytest" { } ''
echo ${clan-pytest-without-core}