Commit 84490acd authored by FliegendeWurst's avatar FliegendeWurst
Browse files

mrpeach: cleanup

parent e5760c3e
Loading
Loading
Loading
Loading
+6 −2
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ stdenv.mkDerivation {

  hardeningDisable = [ "format" ];

  patchPhase = ''
  postPatch = ''
    for D in net osc
    do
      sed -i "s@prefix = /usr/local@prefix = $out@g" $D/Makefile
@@ -34,24 +34,28 @@ stdenv.mkDerivation {
  '';

  buildPhase = ''
    runHook preBuild
    for D in net osc
    do
      cd $D
      make
      cd ..
    done
    runHook postBuild
  '';

  installPhase = ''
    runHook preInstall
    for D in net osc
    do
      cd $D
      make install
      cd ..
    done
    runHook postInstall
  '';

  fixupPhase = ''
  preFixup = ''
    mv $out/lib/pd-externals/net $out
    mv $out/lib/pd-externals/osc $out
    rm -rf $out/lib