Merge pull request #30 from input-output-hk/auto-cleanup

auto-delete the tmpdir when finished
This commit is contained in:
Matthew Justin Bauer 2018-04-04 10:28:28 -05:00 committed by GitHub
commit 27eff80437
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,7 +7,7 @@ rec {
stdenv.mkDerivation {
name = "arx";
buildCommand = ''
${haskellPackages.arx}/bin/arx tmpx ${archive} -rm! -o $out // ${startup}
${haskellPackages.arx}/bin/arx tmpx ${archive} -o $out // ${startup}
chmod +x $out
'';
};