mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 21:53:32 +00:00
15 lines
218 B
Nix
15 lines
218 B
Nix
|
{ stdenv }:
|
||
|
|
||
|
stdenv.mkDerivation {
|
||
|
name = "stdenv-test-succeedOnFailure";
|
||
|
|
||
|
succeedOnFailure = true;
|
||
|
|
||
|
passAsFile = [ "buildCommand" ];
|
||
|
buildCommand = ''
|
||
|
mkdir $out
|
||
|
echo foo > $out/foo
|
||
|
exit 1
|
||
|
'';
|
||
|
}
|