bscpkgs/garlic/pp/hist/default.nix
Rodrigo Arias Mallo 4beb069627 WIP: postprocessing pipeline
Now each run is executed in a independent folder
2020-11-03 19:09:59 +01:00

26 lines
337 B
Nix

{
stdenv
, ministat
}:
stdenv.mkDerivation {
name = "hist";
preferLocalBuild = true;
src = ./.;
dontBuild = true;
dontConfigure = true;
inherit ministat;
patchPhase = ''
substituteAllInPlace hist.sh
'';
installPhase = ''
mkdir -p $out/bin
cp hist.sh $out/bin/hist
chmod +x $out/bin/hist
'';
}