nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at python-updates 14 lines 218 B view raw
1{ stdenv }: 2 3stdenv.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}