Commit 8e350727 authored by Valentin Reis's avatar Valentin Reis

defaultnix changes for dhall refactor.

parent 5fd19481
Pipeline #7691 canceled with stages
in 1 minute and 47 seconds
......@@ -436,16 +436,12 @@ let
installPhase = ''
mkdir -p $out
cp -r $src/* $out
substituteInPlace $out/assets/simple-H2O.xml --replace \
H2O.HF.wfs.xml $out/assets/H2O.HF.wfs.xml
substituteInPlace $out/assets/simple-H2O.xml --replace \
O.BFD.xml $out/assets/O.BFD.xml
substituteInPlace $out/assets/simple-H2O.xml --replace \
H.BFD.xml $out/assets/H.BFD.xml
substituteInPlace $out/lib.dh --replace \
"dataDir = \"./\"" "dataDir = \"$out/\""
substituteInPlace $out/lib.dh --replace \
"https://xgitlab.cels.anl.gov/argo/dhrun/raw/master/" "./"
substituteInPlace $out/test_assets/simple-H2O.xml --replace \
H2O.HF.wfs.xml $out/test_assets/H2O.HF.wfs.xml
substituteInPlace $out/test_assets/simple-H2O.xml --replace \
O.BFD.xml $out/test_assets/O.BFD.xml
substituteInPlace $out/test_assets/simple-H2O.xml --replace \
H.BFD.xml $out/test_assets/H.BFD.xml
'';
unpackPhase = "true";
};
......@@ -453,7 +449,7 @@ let
doDhrun = dhallcall: test.overrideAttrs (old:{
buildPhase = ''
dhrun run <<< 'let all = ${dhrunTestConfigLayer}/all-tests.dh
"${dhrunTestConfigLayer}/" "${nrm}/share/examples/" in all.${dhallcall}'
"${dhrunTestConfigLayer}/" "${nrm}/share/examples/" True in all.${dhallcall}'
'';
installPhase = ''
mkdir -p $out
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment