uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
31
pkgs/development/libraries/physics/geant4/tests.nix
Normal file
31
pkgs/development/libraries/physics/geant4/tests.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ stdenv, cmake, geant4 }:
|
||||
|
||||
{
|
||||
example_B1 = stdenv.mkDerivation {
|
||||
name = "${geant4.name}-test-example_B1";
|
||||
|
||||
inherit (geant4) src;
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [ geant4 ];
|
||||
checkInputs = with geant4.data; [
|
||||
G4EMLOW
|
||||
G4ENSDFSTATE
|
||||
G4PARTICLEXS
|
||||
G4PhotonEvaporation
|
||||
];
|
||||
|
||||
prePatch = ''
|
||||
cd examples/basic/B1
|
||||
'';
|
||||
|
||||
doCheck = true;
|
||||
checkPhase = ''
|
||||
runHook preCheck
|
||||
|
||||
./exampleB1 ../run2.mac
|
||||
|
||||
runHook postCheck
|
||||
'';
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue