From 638c01773d0968f98794d3879b726332e6e74d80 Mon Sep 17 00:00:00 2001 From: Brian McKenna Date: Mon, 1 Jan 2018 18:09:46 +1100 Subject: [PATCH] dirt: 2015-04-28 -> 2018-01-01 --- pkgs/applications/audio/dirt/default.nix | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/pkgs/applications/audio/dirt/default.nix b/pkgs/applications/audio/dirt/default.nix index 740d6d8d7e0a..c50f85e96ae3 100644 --- a/pkgs/applications/audio/dirt/default.nix +++ b/pkgs/applications/audio/dirt/default.nix @@ -1,19 +1,20 @@ { stdenv, fetchFromGitHub, libsndfile, libsamplerate, liblo, libjack2 }: stdenv.mkDerivation rec { - name = "dirt-2015-04-28"; + name = "dirt-2018-01-01"; src = fetchFromGitHub { repo = "Dirt"; owner = "tidalcycles"; - rev = "cfc5e85318defda7462192b5159103c823ce61f7"; - sha256 = "1shbyp54q64g6bsl6hhch58k3z1dyyy9ph6cq2xvdf8syy00sisz"; + rev = "b09604c7d8e581bc7799d7e2ad293e7cdd254bda"; + sha256 = "13adglk2d31d7mswfvi02b0rjdhzmsv11cc8smhidmrns3f9s96n"; + fetchSubmodules = true; }; buildInputs = [ libsndfile libsamplerate liblo libjack2 ]; postPatch = '' - sed -i "s|./samples|$out/share/dirt/samples|" file.h + sed -i "s|./samples|$out/share/dirt/samples|" dirt.c ''; configurePhase = '' - export DESTDIR=$out + export PREFIX=$out ''; postInstall = '' mkdir -p $out/share/dirt/