Commit e2534353 authored by Valentin Reis's avatar Valentin Reis

adds the path trick to get singularity in the nix-build env

parent dad2ae92
Pipeline #7424 failed with stages
in 2 minutes and 13 seconds
......@@ -444,6 +444,7 @@ let
testGeneric = doDhrun genericTestName;
testSingularity = (doDhrun "run-singularity").overrideAttrs (o:{
buildPhase = "PATH=$PATH:/tmp/argonix/ " + o.buildPhase;
__noChroot = true; # the test needs OS singularity installation so we disable sanboxing here.
});
......@@ -486,20 +487,18 @@ let
bld = bleeding;
singularityDebugTest = pkgs.stdenv.mkDerivation rec {
name = "singdebg";
#testSingularity = pkgs.stdenv.mkDerivation rec {
#name = "singdebg";
path = "/run/current-system/sw/bin/";
src = ../dhrun ;
installPhase = ''
mkdir -p $out
echo $PATH
singularity --version
singularity --help
'';
unpackPhase = "true";
};
#src = ../dhrun ;
#installPhase = ''
#mkdir -p $out
#echo "tata"
#PATH=$PATH:/tmp/argonix singularity --version
#echo "toto"
#'';
#unpackPhase = "true";
#};
};
......
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