Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argo
argopkgs
Commits
e2534353
Commit
e2534353
authored
May 21, 2019
by
Valentin Reis
Browse files
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
pkgs/default.nix
View file @
e2534353
...
...
@@ -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
;
s
ingularity
DebugTest
=
pkgs
.
stdenv
.
mkDerivation
rec
{
name
=
"singdebg"
;
#testS
ingularity = 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";
#};
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment