repo.or.cz
/
NixPkgs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pytrainer: unpin python 3.10
[NixPkgs.git]
/
pkgs
/
stdenv
/
tests
/
succeedOnFailure.nix
blob
fef7f178699799cd09d292939b71f5c7bf192ac4
1
{ stdenv }:
2
3
stdenv.mkDerivation {
4
name = "stdenv-test-succeedOnFailure";
5
6
succeedOnFailure = true;
7
8
passAsFile = [ "buildCommand" ];
9
buildCommand = ''
10
mkdir $out
11
echo foo > $out/foo
12
exit 1
13
'';
14
}