2023-02-24 16:33:48 +00:00
|
|
|
{ stdenvNoCC, sfz, writeScriptBin }:
|
2022-01-10 22:43:10 +00:00
|
|
|
|
2023-02-24 16:33:48 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
2022-01-10 22:43:10 +00:00
|
|
|
name = "muc.hacc.earth-static";
|
|
|
|
|
|
|
|
src = ./.;
|
|
|
|
|
|
|
|
phases = [ "buildPhase" ];
|
|
|
|
buildPhase = ''
|
|
|
|
cd $src
|
|
|
|
mkdir -p $out
|
|
|
|
cp -r * $out
|
|
|
|
rm $out/default.nix
|
|
|
|
'';
|
|
|
|
|
2023-02-24 16:33:48 +00:00
|
|
|
watch = writeScriptBin "watch" ''
|
|
|
|
${sfz}/bin/sfz -r ${src}
|
|
|
|
'';
|
2022-01-10 22:43:10 +00:00
|
|
|
}
|